diff options
Diffstat (limited to 'thread_pthread.h')
-rw-r--r-- | thread_pthread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/thread_pthread.h b/thread_pthread.h index 60e0fe0ea3..8fb1d521b6 100644 --- a/thread_pthread.h +++ b/thread_pthread.h @@ -21,7 +21,10 @@ typedef pthread_cond_t rb_nativethread_cond_t; typedef struct native_thread_data_struct { - struct list_node ubf_list; + union { + struct list_node ubf; + struct list_node gvl; + } node; #if defined(__GLIBC__) || defined(__FreeBSD__) union #else |