projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add pivot_root syscall wrapper
[oweals/musl.git]
/
src
/
time
/
timer_create.c
diff --git
a/src/time/timer_create.c
b/src/time/timer_create.c
index 5d362c7ed7e626cce1dde6c37df383894789ebd0..e35293cc4027c1cbd57aaa51a245ac59b9f520c9 100644
(file)
--- 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(1
000000000
);
pthread_cleanup_pop(0);
return 0;
}