]> sourceware.org Git - newlib-cygwin.git/commit
Ensure nanosleep(2) never returns negative rem
authorDavid Allsopp <david.allsopp@metastack.com>
Tue, 20 Jul 2021 15:07:00 +0000 (16:07 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 22 Jul 2021 07:57:40 +0000 (09:57 +0200)
commit51a297bcbf05f332462a577563234062660e6384
tree25b9e716ce39d7e5c30dc7ddcb0fd335043c46e0
parent44a3966577bc29ad4394c7117964dcfec5011646
Ensure nanosleep(2) never returns negative rem

It appears to be the case that NtQueryTimer can return a negative time
remaining for an unsignalled timer. The value appears to be less than
the timer resolution.

Signed-off-by: David Allsopp <david.allsopp@metastack.com>
winsup/cygwin/cygwait.cc
winsup/cygwin/release/3.2.1
This page took 0.03041 seconds and 5 git commands to generate.