summaryrefslogtreecommitdiff
path: root/tests/exception3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception3.c')
-rw-r--r--tests/exception3.c4
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);