From a1cfaf4b1f199d078f5168dcbc37a83250666ed4 Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 6 May 2011 16:47:38 +0000 Subject: * thread_pthread.h (rb_thread_cond_t): add clockid field. it's no longer an alias of pthread_cond_t. * thread_pthread.c: adapt new rb_thread_cond_t type. * thread.c (mutex_alloc): ditto. * thread_win32.c (native_cond_initialize): ditto. * configure.in: add check for pthread_cond_attr_setclock() and clockid_t type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index 16f9cb9fbf..287f637911 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -490,7 +490,7 @@ native_cond_timedwait(rb_thread_cond_t *cond, rb_thread_lock_t *mutex, struct ti } static void -native_cond_initialize(rb_thread_cond_t *cond) +native_cond_initialize(rb_thread_cond_t *cond, int flags) { cond->next = 0; cond->last = 0; -- cgit v1.2.3