mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Rewrite Windows poll()
We can now await signals, files, pipes, and console simultaneously. This change also gives a deeper review and testing to changes made yesterday.
This commit is contained in:
parent
cceddd21b2
commit
fbdf9d028c
15 changed files with 425 additions and 191 deletions
|
@ -899,7 +899,8 @@ RestartOperation:
|
|||
goto RestartOperation;
|
||||
}
|
||||
|
||||
textwindows int CountConsoleInputBytesBlocking(uint32_t ms, sigset_t waitmask) {
|
||||
textwindows static int CountConsoleInputBytesBlocking(uint32_t ms,
|
||||
sigset_t waitmask) {
|
||||
int got = CountConsoleInputBytes();
|
||||
if (got == -1)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue