Skip to content

Commit af1816a

Browse files
author
Jacob Lacouture
committed
disable worker
1 parent 3e8cd93 commit af1816a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

thread_pthread.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,8 @@ transfer_sched_lock(struct rb_thread_sched *sched, struct rb_thread_struct *curr
11991199
static void *
12001200
deferred_wait_thread_worker(void *arg)
12011201
{
1202+
return NULL;
1203+
#if 0
12021204
#ifdef SET_CURRENT_THREAD_NAME
12031205
SET_CURRENT_THREAD_NAME("rb_def_wait");
12041206
#endif
@@ -1250,6 +1252,7 @@ deferred_wait_thread_worker(void *arg)
12501252

12511253
rb_native_mutex_unlock(&thread_deferred_wait.lock);
12521254
return NULL;
1255+
#endif
12531256
}
12541257

12551258
static void

0 commit comments

Comments
 (0)