diff options
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 60853cd0a3..10e42e97c8 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -331,7 +331,7 @@ gvl_release_common(rb_global_vm_lock_t *gvl) { native_thread_data_t *next; gvl->owner = 0; - next = ccan_list_top(&gvl->waitq, native_thread_data_t, node.ubf); + next = ccan_list_top(&gvl->waitq, native_thread_data_t, node.gvl); if (next) rb_native_cond_signal(&next->cond.gvlq); return next; |