mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Further optimize poll() on Windows
This commit is contained in:
parent
556a294363
commit
518eabadf5
6 changed files with 44 additions and 64 deletions
|
@ -57,7 +57,7 @@ textwindows static int _park_thread(uint32_t msdelay, sigset_t waitmask,
|
|||
CloseHandle(sigev);
|
||||
|
||||
// recursion is now safe
|
||||
if (ws == -1)
|
||||
if (ws == -1u)
|
||||
return __winerr();
|
||||
int handler_was_called = 0;
|
||||
if (sig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue