[PATCH] score: Document Futex Handler

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Sep 1 05:06:11 UTC 2021


On 31/08/2021 22:31, Joel Sherrill wrote:
> On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
> 
>     Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page.
> 
> 
> EAGAIN AND Linux man page for what?

The behaviour of the futex operations is defined by Linux:

https://man7.org/linux/man-pages/man2/futex.2.html

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.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list