Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-09 09:11:51 +0400
committerChristopher Faylor <me@cgf.cx>2005-06-09 09:11:51 +0400
commited364fa9fbf461ef2f1b17ba17f210dd1066f6b3 (patch)
treeb058e5fd170aa4685c383e35001c9251d5610dce /winsup/cygwin/wait.cc
parenta63c42932ecf41c1141789282838407329524e2c (diff)
Change pthread::cancelable_wait to just cancelable_wait, throughout.
* thread.h (cw_sig_wait): New enum. (fast_mutex::lock): Use cancelable_wait with resumable signal. (cancelable_wait): Change fourth argument to cw_sig_wait enum. * thread.cc (cancelable_wait): Ditto. Loop on signal detection if fourth argument == cw_sig_resume.
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r--winsup/cygwin/wait.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc
index 70febf06d..2a7a94d37 100644
--- a/winsup/cygwin/wait.cc
+++ b/winsup/cygwin/wait.cc
@@ -80,7 +80,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
if ((waitfor = w->ev) == NULL)
goto nochildren;
- res = pthread::cancelable_wait (waitfor, INFINITE);
+ res = cancelable_wait (waitfor, INFINITE);
sigproc_printf ("%d = WaitForSingleObject (...)", res);