]> sourceware.org Git - newlib-cygwin.git/commitdiff
* thread.cc (pthread::precreate): Delete duplicate setting of cancel_event.
authorChristopher Faylor <me@cgf.cx>
Mon, 8 Dec 2003 06:32:46 +0000 (06:32 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 8 Dec 2003 06:32:46 +0000 (06:32 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/thread.cc

index 63904fa4b4c3336c74484943b8e6548b4448bd89..84def7ec0658ff67919fd8d80869a0cf209a35a6 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-08  Christopher Faylor  <cgf@redhat.com>
+
+       * thread.cc (pthread::precreate): Delete duplicate setting of
+       cancel_event.
+
 2003-12-08  Christopher Faylor  <cgf@redhat.com>
 
        * fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it
index c0bdb8b0d39693e37ef02ada63475849cfdfe12e..a6b2f991976725f49303092f89ec78c8be3c5cad 100644 (file)
@@ -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
This page took 0.035459 seconds and 5 git commands to generate.