aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index f886db1215..fab7a9ee57 100644
--- a/eval.c
+++ b/eval.c
@@ -7251,7 +7251,7 @@ rb_thread_sleep_forever()
{
if (curr_thread == curr_thread->next) {
TRAP_BEG;
- sleep((32767L<<16)+32767);
+ pause();
TRAP_END;
return;
}