Write more tests for signal handling

There's now a much stronger level of assurance that signaling on Windows
will be atomic, low-latency, low tail latency, and shall never deadlock.
This commit is contained in:
Justine Tunney 2024-09-21 05:24:56 -07:00
parent 0e59afb403
commit dd8c4dbd7d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
19 changed files with 407 additions and 75 deletions

View file

@ -167,7 +167,7 @@ static textwindows int __proc_wait(int pid, int *wstatus, int options,
}
__proc_unlock();
if (wi == 1) {
// __sig_cancel() woke our semaphore
// __sig_wake() woke our semaphore
continue;
} else {
// neither posix or win32 define i/o error conditions for