interrupted sleep returns wrong value
Fri Sep 15 13:28:00 GMT 2000
On Fri, Sep 15, 2000 at 11:24:01PM +0400, Egor Duda wrote:
> 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.
More information about the Cygwin-patches