diff options
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 115df453e..e2fc0affd 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -862,7 +862,7 @@ pthread_cond::Signal () { InterlockedIncrement (&ExitingWait); /* give up the cpu to force a context switch. */ - Sleep (0); + low_priority_sleep (0); if (spins == 5) /* we've had 5 timeslices, and the woken thread still hasn't done it's * thing - maybe we raced it with the event? */ |