At Sun, 30 Jan 2005 23:20:06 +0100,
Macrus Brinkmann wrote:
> 2005-01-30 Marcus Brinkmann <[EMAIL PROTECTED]>
>
> * sysdeps/mach/nanosleep.c (__nanosleep): Calculate remaining
> time, not elapsed time.
Now that was a messed up patch. Here is a new version of the code
within the if
Hi,
I think nanosleep() is broken in that it returns elapsed time, not
remaining time. I worked out this fix, completely untested. If
someone wants to test and verify this fix, please have a go. To
properly test it you have to set up an ALARM signal and interrupt the
sleep I guess.
Thanks,
Mar