diff options
Diffstat (limited to 'thread_pthread.h')
-rw-r--r-- | thread_pthread.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/thread_pthread.h b/thread_pthread.h index 1c3782caf4..0566193eb5 100644 --- a/thread_pthread.h +++ b/thread_pthread.h @@ -16,14 +16,9 @@ #endif #define RB_NATIVETHREAD_LOCK_INIT PTHREAD_MUTEX_INITIALIZER -#define RB_NATIVETHREAD_COND_INIT { PTHREAD_COND_INITIALIZER, } +#define RB_NATIVETHREAD_COND_INIT PTHREAD_COND_INITIALIZER -typedef struct rb_thread_cond_struct { - pthread_cond_t cond; -#ifdef HAVE_CLOCKID_T - clockid_t clockid; -#endif -} rb_nativethread_cond_t; +typedef pthread_cond_t rb_nativethread_cond_t; typedef struct native_thread_data_struct { struct list_node ubf_list; |