mirror of git://git.musl-libc.org/musl
timer threads should sleep and stay asleep... a long time
This commit is contained in:
parent
6f1414e102
commit
6e9ed66d0d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue