POSIX API is not portable across arches #51776
Labels
area: POSIX
POSIX API Library
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Milestone
Is your enhancement proposal related to a problem? Please describe.
I believe that mentioning POSIX API in The POSIX architecture is a +1.
Especially the code like this:
This code works with POSIX API but it doesn't on native_posix. It is because, as I assume, that
usleep()
isk_usleep()
and it's a scheduling point.usleep()
is just a native function and it's not a scheduling point for Zephyr.Describe the solution you'd like
Mention
sleep()
andusleep()
in POSIX Support or The POSIX architecture with note about scheduling point.The text was updated successfully, but these errors were encountered: