aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-23 10:50:32 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-23 10:50:32 +0000
commit4d3feac974f7b854c809f32541a30fa1be817540 (patch)
treebfb03e40fd4f575b707d011f4c61a71127306c97 /thread_pthread.h
parentb2bcef7294d1a65363773cfc97ade6bd286ee63a (diff)
downloadruby-4d3feac974f7b854c809f32541a30fa1be817540.tar.gz
* thread_(pthread|win32).h: rename rb_thread_cond_t to
rb_nativethread_cond_t. * thread.c, thread_pthread.c, thread_win32.c, vm_core.h: catch up renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;