diff options
Diffstat (limited to 'tests/create2.c')
-rw-r--r-- | tests/create2.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/create2.c b/tests/create2.c index ea2979f..d23d19f 100644 --- a/tests/create2.c +++ b/tests/create2.c @@ -76,16 +76,13 @@ #include "test.h" enum { - NUMTHREADS = 10000; + NUMTHREADS = 10000 }; static int washere = 0; void * func(void * arg) { - HANDLE w32ThreadH = (pthread_self())->threadH; - - assert(w32ThreadH != 0); washere = 1; return (void *) 0; } @@ -96,6 +93,7 @@ main() pthread_t t; pthread_attr_t attr; void * result = NULL; + int i; pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); |