aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.ci
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index 87cbc26e50..fb4d269140 100644
--- a/thread_pthread.ci
+++ b/thread_pthread.ci
@@ -343,7 +343,7 @@ native_sleep(rb_thread_t *th, struct timeval *tv)
GVL_UNLOCK_BEGIN();
{
pthread_mutex_lock(&th->interrupt_lock);
-
+
if (th->interrupt_flag) {
/* interrupted. return immediate */
thread_debug("native_sleep: interrupted before sleep\n");