Cygwin: console: Add debug print on thread_sync_event creation error
Fixes: 55baaac2ef
("Cygwin: console: Add error handling for thread_sync_event")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
This commit is contained in:
parent
55baaac2ef
commit
8d8f11b2b7
|
@ -1861,6 +1861,9 @@ fhandler_console::open (int flags, mode_t)
|
|||
WaitForSingleObject (thread_sync_event, INFINITE);
|
||||
CloseHandle (thread_sync_event);
|
||||
}
|
||||
else
|
||||
debug_printf ("Failed to create thread_sync_event %08x",
|
||||
GetLastError ());
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue