ruby-changes:8599
From: nobu <ko1@a...>
Date: Fri, 7 Nov 2008 22:50:24 +0900 (JST)
Subject: [ruby-changes:8599] Ruby:r20134 (trunk): * thread_pthread.c (thread_timer): fixed typo.
nobu 2008-11-07 22:47:11 +0900 (Fri, 07 Nov 2008) New Revision: 20134 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20134 Log: * thread_pthread.c (thread_timer): fixed typo. Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20133) +++ ChangeLog (revision 20134) @@ -1,4 +1,4 @@ -Fri Nov 7 22:42:23 2008 Nobuyoshi Nakada <nobu@r...> +Fri Nov 7 22:46:57 2008 Nobuyoshi Nakada <nobu@r...> * thread_pthread.c (thread_timer): initializes mutex each time. Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 20133) +++ thread_pthread.c (revision 20134) @@ -671,7 +671,7 @@ struct timespec ts; pthread_mutex_t lock; - pthread_mutex_initializer(&lock, 0); + pthread_mutex_init(&lock, 0); pthread_mutex_lock(&lock); #define WAIT_FOR_10MS() (pthread_cond_timedwait(&timer_thread_cond, &lock, get_ts(&ts, PER_NANO/100)) == ETIMEDOUT) while (WAIT_FOR_10MS()) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/