aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index 781712c3f6..3167efc050 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -45,7 +45,9 @@ typedef struct rb_global_vm_lock_struct {
/* yield */
rb_thread_cond_t switch_cond;
- unsigned long need_yield;
+ rb_thread_cond_t switch_wait_cond;
+ int need_yield;
+ int wait_yield;
} rb_global_vm_lock_t;
#endif /* RUBY_THREAD_PTHREAD_H */