Re: [PATCH] score: Document Futex Handler

2021-09-01 Thread Sebastian Huber
On 01/09/2021 14:45, Joel Sherrill wrote: The comment says behaviour. Do we provide a compatible API at some level? To some extent the API is compatible. The futex support is used for the OpenMP support in GCC (libgomp). We are able to use the Linux futex barrier implementation nearly one-to-

Re: [PATCH] score: Document Futex Handler

2021-09-01 Thread Joel Sherrill
On Wed, Sep 1, 2021 at 7:04 AM Sebastian Huber wrote: > > > > On 01/09/2021 14:03, Joel Sherrill wrote: > > > > > > On Wed, Sep 1, 2021, 12:06 AM Sebastian Huber > > > > wrote: > > > > On 31/08/2021 22:31, Joel Sherrill wrote: > > > On Tue, Aug

Re: [PATCH] score: Document Futex Handler

2021-09-01 Thread Sebastian Huber
On 01/09/2021 14:03, Joel Sherrill wrote: On Wed, Sep 1, 2021, 12:06 AM Sebastian Huber > wrote: On 31/08/2021 22:31, Joel Sherrill wrote: > On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber > mailto:sebastian.hu...@embedded-brains.de>

Re: [PATCH] score: Document Futex Handler

2021-09-01 Thread Joel Sherrill
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 > > > > wrote: > > > > Use EAGIN instead of EWOULDBLOCK to be in

Re: [PATCH] score: Document Futex Handler

2021-08-31 Thread Sebastian Huber
On 31/08/2021 22:31, Joel Sherrill wrote: On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber > 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 i

Re: [PATCH] score: Document Futex Handler

2021-08-31 Thread Joel Sherrill
On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber < 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? These error numbers have the same values in Newlib. > --- > cpukit/score/src/futex.c | 42 ++

[PATCH] score: Document Futex Handler

2021-08-31 Thread Sebastian Huber
Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page. These error numbers have the same values in Newlib. --- cpukit/score/src/futex.c | 42 ++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/cpukit/score/src/futex.c b/cpukit/s