ruby-changes:5606
From: mame <ko1@a...>
Date: Thu, 12 Jun 2008 23:33:45 +0900 (JST)
Subject: [ruby-changes:5606] Ruby:r17113 (trunk): * thread.c (mutex_unlock): fix cond_notified consistency.
mame 2008-06-12 23:33:07 +0900 (Thu, 12 Jun 2008) New Revision: 17113 Modified files: trunk/ChangeLog trunk/thread.c Log: * thread.c (mutex_unlock): fix cond_notified consistency. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17113&r2=17112&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread.c?r1=17113&r2=17112&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 17112) +++ ChangeLog (revision 17113) @@ -1,3 +1,7 @@ +Thu Jun 12 23:30:11 2008 Yusuke Endoh <mame@t...> + + * thread.c (mutex_unlock): fix cond_notified consistency. + Thu Jun 12 22:19:45 2008 NAKAMURA Usaku <usa@r...> * thread_win32.c (native_sleep): fixed previous commit. Index: thread.c =================================================================== --- thread.c (revision 17112) +++ thread.c (revision 17113) @@ -2579,6 +2579,7 @@ /* waiting thread */ native_cond_signal(&mutex->cond); mutex->cond_waiting--; + mutex->cond_notified++; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/