Skip to content

Commit a7b32d4

Browse files
author
Jacob Lacouture
committed
disable defer
1 parent 3e8cd93 commit a7b32d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

thread_pthread.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,14 +1294,16 @@ static void
12941294
thread_sched_blocking_region_enter(struct rb_thread_sched *sched, rb_thread_t *th)
12951295
{
12961296
thread_sched_lock(sched, th);
1297+
#if 0
12971298
if (sched->is_running) {
12981299
VM_ASSERT(sched->running == th);
12991300
deferred_wait_thread_enqueue_yield(sched, th);
13001301
}
13011302
else {
13021303
VM_ASSERT(sched->running == NULL);
1304+
#endif
13031305
thread_sched_to_waiting_common(sched, th);
1304-
}
1306+
// }
13051307
thread_sched_unlock(sched, th);
13061308
}
13071309

0 commit comments

Comments
 (0)