* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
WaitForSingleObject.
This commit is contained in:
parent
85cd5c3d57
commit
fa0dcd0d65
@ -1,3 +1,8 @@
|
||||
2005-06-09 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
|
||||
WaitForSingleObject.
|
||||
|
||||
2005-06-09 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.
|
||||
|
@ -1554,7 +1554,7 @@ pthread_mutex::_lock (pthread_t self)
|
||||
}
|
||||
else
|
||||
{
|
||||
WaitForSingleObject (win32_obj_id, INFINITE);
|
||||
cancelable_wait (win32_obj_id, INFINITE, false, cw_sig_resume);
|
||||
set_owner (self);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user