aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index 0486c11381..411ef69eb2 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -23,11 +23,11 @@ typedef struct rb_thread_cond_struct {
#ifdef HAVE_CLOCKID_T
clockid_t clockid;
#endif
-} rb_thread_cond_t;
+} rb_nativethread_cond_t;
typedef struct native_thread_data_struct {
void *signal_thread_list;
- rb_thread_cond_t sleep_cond;
+ rb_nativethread_cond_t sleep_cond;
} native_thread_data_t;
#include <semaphore.h>
@@ -44,11 +44,11 @@ typedef struct rb_global_vm_lock_struct {
/* slow path */
volatile unsigned long waiting;
- rb_thread_cond_t cond;
+ rb_nativethread_cond_t cond;
/* yield */
- rb_thread_cond_t switch_cond;
- rb_thread_cond_t switch_wait_cond;
+ rb_nativethread_cond_t switch_cond;
+ rb_nativethread_cond_t switch_wait_cond;
int need_yield;
int wait_yield;
} rb_global_vm_lock_t;