interrupted sleep returns wrong value

Chris Faylor cgf@cygnus.com
Fri Sep 15 13:28:00 GMT 2000


On Fri, Sep 15, 2000 at 11:24:01PM +0400, Egor Duda wrote:
>Hi!
>
>  SUSv2 says:
>
>    If sleep() returns because the requested time has elapsed, the value
>    returned will be 0. If sleep() returns because of premature arousal due to
>    delivery of a signal, the return value will be the "unslept" amount (the
>    requested time minus the time actually slept) in seconds.
>
>attached patch accomplish this.

This looks good.  Please check it in.

cgf


More information about the Cygwin-patches mailing list