Introduce sigtimedwait() on Windows

This commit is contained in:
Justine Tunney 2024-09-14 20:32:46 -07:00
parent 37e2660c7f
commit c260144843
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
17 changed files with 280 additions and 130 deletions

View file

@ -33,7 +33,7 @@ void CheckForFileLeaks(void) {
char *pe = msg + 256;
bool gotsome = false;
if (IsQemuUser())
usleep(1); // weird qemu mt flake
usleep(10000); // weird qemu mt flake
for (int fd = 3; fd < MIN_CLANDESTINE_FD; ++fd) {
if (fcntl(fd, F_GETFL) != -1) {
if (!gotsome) {