diff options
author | rpj <rpj> | 2002-01-13 02:29:40 +0000 |
---|---|---|
committer | rpj <rpj> | 2002-01-13 02:29:40 +0000 |
commit | 30a1e9738593302fa26e0a668f517bc7f5800190 (patch) | |
tree | b7379d358ab465e2c2c57864699c91b9055fc9fd /tests/exception3.c | |
parent | 0fee04f5eb2d9c1c484281afbc2b24278567a179 (diff) |
* attr.c (pthread_attr_setscope): Fix struct pointer
indirection error introduced 2002-01-04.
(pthread_attr_getscope): Likewise.
* pthread.dsp (SOURCE): Add missing source files.
./tests/:
* exception3.c (main): Shorten wait time.
* mutex7.c: New test.
* mutex7n.c: New test.
* mutex7e.c: New test.
* mutex7r.c: New test.
* mutex6.c: Modified to avoid leaving the locked mutex
around on exit.
Diffstat (limited to 'tests/exception3.c')
-rw-r--r-- | tests/exception3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/exception3.c b/tests/exception3.c index bb27ff7..08f88a7 100644 --- a/tests/exception3.c +++ b/tests/exception3.c @@ -87,7 +87,7 @@ terminateFunction () { pthread_mutex_lock(&caughtLock); caught++; -#if 0 +#if 1 { FILE * fp = fopen("pthread.log", "a"); fprintf(fp, "Caught = %d\n", caught); @@ -123,7 +123,7 @@ main() assert(pthread_create(&et[i], NULL, exceptionedThread, NULL) == 0); } - Sleep(10000); + Sleep(5000); assert(caught == NUMTHREADS); |