Change "set_thread_waiting" to "set_signal_arrived" throughout.
This commit is contained in:
@@ -377,7 +377,7 @@ cygthread::detach (HANDLE sigwait)
|
||||
unsigned n = 2;
|
||||
DWORD howlong = INFINITE;
|
||||
w4[0] = sigwait;
|
||||
set_thread_waiting here (w4[1]);
|
||||
set_signal_arrived here (w4[1]);
|
||||
/* For a description of the below loop see the end of this file */
|
||||
for (int i = 0; i < 2; i++)
|
||||
switch (res = WaitForMultipleObjects (n, w4, FALSE, howlong))
|
||||
|
Reference in New Issue
Block a user