[前][次][番号順一覧][スレッド一覧]

ruby-changes:5933

From: ko1 <ko1@a...>
Date: Fri, 20 Jun 2008 00:20:04 +0900 (JST)
Subject: [ruby-changes:5933] Ruby:r17441 (trunk): * thread_win32.c (native_sleep): fix to decrement sleeper count.

ko1	2008-06-20 00:19:38 +0900 (Fri, 20 Jun 2008)

  New Revision: 17441

  Modified files:
    trunk/ChangeLog
    trunk/thread_win32.c
    trunk/version.h

  Log:
    * thread_win32.c (native_sleep): fix to decrement sleeper count.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=17441&r2=17440&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17441&r2=17440&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/thread_win32.c?r1=17441&r2=17440&diff_format=u

Index: thread_win32.c
===================================================================
--- thread_win32.c	(revision 17440)
+++ thread_win32.c	(revision 17441)
@@ -246,7 +246,7 @@
     }
     GVL_UNLOCK_END();
     th->status = prev_status;
-    if (!tv && deadlockable) th->vm->sleeper++;
+    if (!tv && deadlockable) th->vm->sleeper--;
     RUBY_VM_CHECK_INTS();
 }
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17440)
+++ ChangeLog	(revision 17441)
@@ -1,3 +1,7 @@
+Fri Jun 20 00:18:04 2008  Koichi Sasada  <ko1@a...>
+
+	* thread_win32.c (native_sleep): fix to decrement sleeper count.
+
 Thu Jun 19 23:48:45 2008  Yusuke Endoh  <mame@t...>
 
 	* test/net/http/test_http.rb: compare encodings of two strings before
Index: version.h
===================================================================
--- version.h	(revision 17440)
+++ version.h	(revision 17441)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.9.0"
-#define RUBY_RELEASE_DATE "2008-06-19"
+#define RUBY_RELEASE_DATE "2008-06-20"
 #define RUBY_VERSION_CODE 190
-#define RUBY_RELEASE_CODE 20080619
+#define RUBY_RELEASE_CODE 20080620
 #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 6
-#define RUBY_RELEASE_DAY 19
+#define RUBY_RELEASE_DAY 20
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]