* 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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user