Skip to content

Commit

Permalink
WIP: clear readyq_cnt at fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Sep 27, 2023
1 parent ca49f45 commit 9f693c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thread_pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ rb_thread_sched_init(struct rb_thread_sched *sched)
{
rb_native_mutex_initialize(&sched->lock_);
ccan_list_head_init(&sched->readyq);
sched->readyq_cnt = 0;
}

static void
Expand Down

0 comments on commit 9f693c2

Please sign in to comment.