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:
parent
3e37ee5af1
commit
0247fbae3d
2 changed files with 13 additions and 5 deletions
11
ChangeLog
11
ChangeLog
|
@ -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
|
||||
|
@ -116,11 +121,11 @@ Fri Nov 19 22:44:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
|||
|
||||
Fri Nov 19 17:46:56 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
|
||||
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
|
||||
changed /rss/channel/image to be optional. [ruby-Bugs:1047]
|
||||
|
||||
* test/rss/test_maker_0.9.rb: added tests for the above.
|
||||
|
||||
|
||||
Fri Nov 19 17:18:17 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
|
||||
|
@ -137,7 +142,7 @@ Fri Nov 19 17:18:17 2004 Kouhei Sutou <kou@cozmixng.org>
|
|||
|
||||
* lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
|
||||
type which is not String but Integer.
|
||||
|
||||
|
||||
* lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
|
||||
<skipHours> has <hour>s.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue