diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-01 21:42:41 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-01 21:42:41 +0400 |
commit | a91ac4dca9f8edca7945593509267beff5a504fe (patch) | |
tree | ab305094a97533163362a0efcdb93ac9df1b8270 /winsup/cygwin/thread.h | |
parent | 1112b2c38f39f33daefd03bb1eebe9e1f84eabaf (diff) |
* fhandler_windows.cc (fhandler_windows::read): Use
pthread::get_cancel_event to fetch thread's cancel event.
* flock.cc (lf_setlock): Ditto.
* posix_ipc.cc (ipc_cond_timedwait): Ditto.
* thread.cc (pthread::get_cancel_event): New static method.
* thread.h (pthread::get_cancel_event): Declare.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index 2453630f8..4ffbc4c01 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -399,6 +399,7 @@ public: virtual int cancel (); virtual void testcancel (); + static HANDLE get_cancel_event (); static void static_cancel_self (); virtual int setcancelstate (int state, int *oldstate); |