about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/time/timer_create.c2
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;
 }