We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8cd93 commit a7b32d4Copy full SHA for a7b32d4
thread_pthread.c
@@ -1294,14 +1294,16 @@ static void
1294
thread_sched_blocking_region_enter(struct rb_thread_sched *sched, rb_thread_t *th)
1295
{
1296
thread_sched_lock(sched, th);
1297
+#if 0
1298
if (sched->is_running) {
1299
VM_ASSERT(sched->running == th);
1300
deferred_wait_thread_enqueue_yield(sched, th);
1301
}
1302
else {
1303
VM_ASSERT(sched->running == NULL);
1304
+#endif
1305
thread_sched_to_waiting_common(sched, th);
- }
1306
+// }
1307
thread_sched_unlock(sched, th);
1308
1309
0 commit comments