summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-10 01:27:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-10 01:27:25 +0000
commiteb18a827fb0498888a6666cd72d4a53a41cc8ca9 (patch)
treeb4d528035b469b5ddffb98145c920b65795854e3
parent69352c0d4d98a16f82ae388297ecfff940747ae2 (diff)
* thread_pthread.c (native_sleep): sleep_cond is initialized at
creation. [ruby-Patches-19361]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--thread_pthread.c1
-rw-r--r--version.h6
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7049eaa311..978746901d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 10 10:27:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * thread_pthread.c (native_sleep): sleep_cond is initialized at
+ creation. [ruby-Patches-19361].
+
Wed Apr 9 14:43:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (lock_func): optimized and checks for interrupt_flag.
diff --git a/thread_pthread.c b/thread_pthread.c
index 62bddb722f..b26148bf40 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -416,7 +416,6 @@ native_sleep(rb_thread_t *th, struct timeval *tv)
}
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();
diff --git a/version.h b/version.h
index c05668f0a2..30be020bde 100644
--- a/version.h
+++ b/version.h
@@ -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[];