1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-06-19 15:19:38 +00:00
parent 8d4f4e25e5
commit af94c81302
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
Fri Jun 20 00:18:04 2008 Koichi Sasada <ko1@atdot.net>
* thread_win32.c (native_sleep): fix to decrement sleeper count.
Thu Jun 19 23:48:45 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/net/http/test_http.rb: compare encodings of two strings before

View file

@ -246,7 +246,7 @@ native_sleep(rb_thread_t *th, struct timeval *tv, int deadlockable)
}
GVL_UNLOCK_END();
th->status = prev_status;
if (!tv && deadlockable) th->vm->sleeper++;
if (!tv && deadlockable) th->vm->sleeper--;
RUBY_VM_CHECK_INTS();
}

View file

@ -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[];