diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-03 12:10:24 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-03 12:10:24 -0400 |
commit | 6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba (patch) | |
tree | 0352ef343dd054f792b3be7648ebbd2314619542 | |
parent | 6f1414e10297b75a58a92b678444fd277abc9a4f (diff) | |
download | musl-6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba.tar.gz musl-6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba.tar.bz2 musl-6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba.tar.xz musl-6e9ed66d0db17ac9ad2342fc107e8c4528fce0ba.zip |
timer threads should sleep and stay asleep... a long time
-rw-r--r-- | src/time/timer_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/timer_create.c b/src/time/timer_create.c index 5d362c7e..e35293cc 100644 --- a/src/time/timer_create.c +++ b/src/time/timer_create.c @@ -45,7 +45,7 @@ static void *start(void *arg) pthread_barrier_wait(&args->b); pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, 0); /* Loop on async-signal-safe cancellation point */ - for (;;) sleep(1); + for (;;) sleep(1000000000); pthread_cleanup_pop(0); return 0; } |