[PATCH] Clean up semaphore EINTR handling after Linux futex docs clarification.

Roland McGrath roland@hack.frob.com
Tue Jun 9 20:54:00 GMT 2015


> +	     EINTR is returned if we are interrupted by a signal and we

I'd s/and we/; we/ here.  As written it feels ambiguous syntactically and
requires real understanding of the context just to see how to parse the
sentence.

> +	     forward this to the caller.  (See futex_wait and related
> +	     documentation.  Before Linux 2.6.22, EINTR was also returned on
> +	     spurious wake-ups;  we only support more recent Linux versions,

Only single space after ; here.

Otherwise seems good to me.


Thanks,
Roland



More information about the Libc-alpha mailing list