From 4d3feac974f7b854c809f32541a30fa1be817540 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 23 Jul 2013 10:50:32 +0000 Subject: * 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 --- thread_pthread.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'thread_pthread.h') 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 @@ -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; -- cgit v1.2.3