+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
}
/* 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