diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/thread/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/thread/thread.c b/ext/thread/thread.c index b8656a1d97..2a2db3f760 100644 --- a/ext/thread/thread.c +++ b/ext/thread/thread.c @@ -269,7 +269,8 @@ queue_delete_from_waiting(struct waiting_delete *p) static VALUE queue_sleep(VALUE arg) { - rb_thread_sleep_deadly(); + extern void rb_thread_sleep_deadly_allow_spurious_wakeup(void); + rb_thread_sleep_deadly_allow_spurious_wakeup(); return Qnil; } |