summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
-rw-r--r--thread_pthread.c5
1 files changed, 5 insertions, 0 deletions
@@ -1129,6 +1129,11 @@ void
rb_thread_sched_init(struct rb_thread_sched *sched, bool atfork)
{
rb_native_mutex_initialize(&sched->lock_);
ccan_list_head_init(&sched->readyq);
sched->readyq_cnt = 0;