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

* eval.c (rb_thread_value): missed to change at r17874. [ruby-core:17595]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-07-05 04:09:49 +00:00
parent 447e3c3702
commit db391b5d66
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Jul 5 13:09:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_thread_value): missed to change at r17874. [ruby-core:17595]
Sat Jul 5 00:33:08 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb (PercentScanner#scan): fix %% line bug. [ruby-core:17491]

3
eval.c
View file

@ -11361,6 +11361,7 @@ rb_thread_select(max, read, write, except, timeout)
}
static int rb_thread_join0 _((rb_thread_t, double));
int rb_thread_join _((VALUE, double));
static int
rb_thread_join0(th, limit)
@ -12456,7 +12457,7 @@ rb_thread_value(thread)
{
rb_thread_t th = rb_thread_check(thread);
while (!rb_thread_join(th, DELAY_INFTY));
while (!rb_thread_join0(th, DELAY_INFTY));
return th->result;
}