* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than

WaitForSingleObject.
This commit is contained in:
Christopher Faylor
2005-06-09 20:59:59 +00:00
parent 85cd5c3d57
commit fa0dcd0d65
2 changed files with 6 additions and 1 deletions

View File

@@ -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);
}