diff options
author | rpj <rpj> | 2000-01-04 10:19:28 +0000 |
---|---|---|
committer | rpj <rpj> | 2000-01-04 10:19:28 +0000 |
commit | a378d97dc9d9eadaef00a9f01816948db5f3a796 (patch) | |
tree | 654435cc0a85156c2a9b4793ab7d8e0da8424e32 /create.c | |
parent | 27d833666dfd72cc6e74c3900d3e8e66321bea3a (diff) |
Main changes (see ChangeLog diff for details and attributions):-
- asynchronous cancellation added
- attempt to hide internal exceptions from applications
- kernel32 load/free problem fixed
- new tests
- changes only to comments in some tests
Diffstat (limited to 'create.c')
-rw-r--r-- | create.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -73,19 +73,11 @@ pthread_create (pthread_t * tid, ThreadParms *parms = NULL; long stackSize; - if ((thread = (pthread_t) calloc (1, sizeof (*thread))) == - NULL) + if ((thread = _pthread_new()) == NULL) { goto FAIL0; } - /* - * Setup standard default state. - */ - thread->detachState = PTHREAD_CREATE_JOINABLE; - thread->cancelState = PTHREAD_CANCEL_ENABLE; - thread->cancelType = PTHREAD_CANCEL_DEFERRED; - thread->cancelEvent = CreateEvent ( 0, |