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

* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated

threads should be also processed.  [ruby-talk:121320]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-11-25 11:15:33 +00:00
parent 3e37ee5af1
commit 0247fbae3d
2 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Thu Nov 25 20:14:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
threads should be also processed. [ruby-talk:121320]
Thu Nov 25 18:06:37 2004 Tanaka Akira <akr@m17n.org>
* configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix

View file

@ -117,8 +117,11 @@ class ThreadsWait
@threads.concat threads
for th in threads
Thread.start(th) do |t|
t.join
@wait_queue.push t
begin
t.join
ensure
@wait_queue.push t
end
end
end
end