From ac5ba8b0ded20b4235d3b78397186378debdf0d0 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 8 Dec 2003 06:32:46 +0000 Subject: * thread.cc (pthread::precreate): Delete duplicate setting of cancel_event. --- winsup/cygwin/thread.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'winsup/cygwin/thread.cc') diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index c0bdb8b0d..a6b2f9919 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -308,15 +308,6 @@ pthread::precreate (pthread_attr *newattr) } /* Change the mutex type to NORMAL to speed up mutex operations */ mutex.type = PTHREAD_MUTEX_NORMAL; - - cancel_event = ::CreateEvent (&sec_none_nih, TRUE, FALSE, NULL); - if (!cancel_event) - { - system_printf ("couldn't create cancel event, this %p LastError %E", this); - /* we need the event for correct behaviour */ - magic = 0; - return; - } } void -- cgit v1.2.3