summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqenqueue.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-08-31 14:26:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-01 14:14:32 +0200
commitce8f31ced53a11ec27633239f871657fb2a2680b (patch)
treed31c949777d8003f9b1e1413ea66aedf5bb4893d /cpukit/score/src/threadqenqueue.c
parentrtems: Fix partitions with RTEMS_MULIPROCESSING (diff)
downloadrtems-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 '')
0 files changed, 0 insertions, 0 deletions