On Wed, Sep 1, 2021, 12:06 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

> On 31/08/2021 22:31, Joel Sherrill wrote:
> > On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber
> > <sebastian.hu...@embedded-brains.de
> > <mailto:sebastian.hu...@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.
>

Thanks. Just toss that in the commit. And perhaps somewhere the
documentation should say this is aligned with Linux

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.hu...@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/
>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to