aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index d35092a70a..6c48224a87 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -155,6 +155,7 @@ gvl_init(rb_vm_t *vm)
vm->gvl.acquired = 0;
vm->gvl.waiting = 0;
vm->gvl.need_yield = 0;
+ vm->gvl.wait_yield = 0;
}
static void