ruby-changes:4454
From: ko1@a...
Date: Thu, 10 Apr 2008 10:27:40 +0900 (JST)
Subject: [ruby-changes:4454] nobu - Ruby:r15945 (trunk): * thread_pthread.c (native_sleep): sleep_cond is initialized at
nobu 2008-04-10 10:27:25 +0900 (Thu, 10 Apr 2008)
New Revision: 15945
Modified files:
trunk/ChangeLog
trunk/thread_pthread.c
trunk/version.h
Log:
* thread_pthread.c (native_sleep): sleep_cond is initialized at
creation. [ruby-Patches-19361].
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=15945&r2=15944&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15945&r2=15944&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread_pthread.c?r1=15945&r2=15944&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15944)
+++ ChangeLog (revision 15945)
@@ -1,3 +1,8 @@
+Thu Apr 10 10:27:24 2008 Nobuyoshi Nakada <nobu@r...>
+
+ * thread_pthread.c (native_sleep): sleep_cond is initialized at
+ creation. [ruby-Patches-19361].
+
Wed Apr 9 14:43:26 2008 Nobuyoshi Nakada <nobu@r...>
* thread.c (lock_func): optimized and checks for interrupt_flag.
Index: thread_pthread.c
===================================================================
--- thread_pthread.c (revision 15944)
+++ thread_pthread.c (revision 15945)
@@ -416,7 +416,6 @@
}
th->status = THREAD_STOPPED;
- pthread_cond_init(&th->native_thread_data.sleep_cond, 0);
thread_debug("native_sleep %ld\n", tv ? tv->tv_sec : -1);
GVL_UNLOCK_BEGIN();
Index: version.h
===================================================================
--- version.h (revision 15944)
+++ version.h (revision 15945)
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
-#define RUBY_RELEASE_DATE "2008-04-09"
+#define RUBY_RELEASE_DATE "2008-04-10"
#define RUBY_VERSION_CODE 190
-#define RUBY_RELEASE_CODE 20080409
+#define RUBY_RELEASE_CODE 20080410
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 4
-#define RUBY_RELEASE_DAY 9
+#define RUBY_RELEASE_DAY 10
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/