diff options
Diffstat (limited to 'lib/libc_r/TEST/test_switch.c')
-rw-r--r-- | lib/libc_r/TEST/test_switch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc_r/TEST/test_switch.c b/lib/libc_r/TEST/test_switch.c index 5d637bda041..311f00df362 100644 --- a/lib/libc_r/TEST/test_switch.c +++ b/lib/libc_r/TEST/test_switch.c @@ -32,6 +32,7 @@ void * new_thread(arg) void *arg; { + SET_NAME("writer"); while(1) { CHECKe(write (fd, (char *) arg, 1)); x[(char *)arg - buf] = 1; @@ -83,7 +84,7 @@ main(argc, argv) (void*)(buf+i))); /* give all threads a chance to run */ - sleep (2); + sleep (6); for (i = 0; i < count; i++) ASSERT(x[i]); /* make sure each thread ran */ |