diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-31 14:26:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-01 14:14:32 +0200 |
commit | ce8f31ced53a11ec27633239f871657fb2a2680b (patch) | |
tree | d31c949777d8003f9b1e1413ea66aedf5bb4893d /cpukit/posix/src/condsignalsupp.c | |
parent | rtems: Fix partitions with RTEMS_MULIPROCESSING (diff) | |
download | rtems-ce8f31ced53a11ec27633239f871657fb2a2680b.tar.bz2 |
score: Document Futex Handler
The behaviour of the futex operations is defined by Linux:
https://man7.org/linux/man-pages/man2/futex.2.html
Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page.
These error numbers have the same value in Newlib. Using the same error
numbers helps to avoid confusion.
When you look at the history of the Linux man page you see that they
replaced EWOULDBLOCK with EAGAIN over time. At the time of the RTEMS
futex implementation they used EWOULDBLOCK.
Diffstat (limited to 'cpukit/posix/src/condsignalsupp.c')
0 files changed, 0 insertions, 0 deletions