[#45906] ' failures. — Tanaka Akira <akr@...>
' の扱いが変化したことで、テストが失敗しているようです。
9 messages
2012/07/04
[#45910] [ruby-trunk - Bug #6694][Open] Thread.new without block. — "ko1 (Koichi Sasada)" <redmine@...>
24 messages
2012/07/04
[#45928] Re: [ruby-cvs:43524] kosaki:r36348 (trunk): * include/ruby/ruby.h: Removed RUBY_GLOBAL_SETUP complely. It is — SASADA Koichi <ko1@...>
ささだです.
3 messages
2012/07/09
[#45973] [ruby-trunk - Bug #6751][Assigned] remove tempfiles early. — "akr (Akira Tanaka)" <akr@...>
4 messages
2012/07/18
[#45976] [ruby-trunk - Bug #6756][Open] FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない — "fumiyas (Fumiyasu SATOH)" <fumiyas@...>
9 messages
2012/07/20
[#45977] [ruby-trunk - Feature #6757][Open] [PATCH] Add Process.getsid — "fumiyas (Fumiyasu SATOH)" <fumiyas@...>
6 messages
2012/07/20
[#46012] [ruby-trunk - Feature #6812][Open] Refactor gc.c — "authorNari (Narihiro Nakamura)" <authorNari@...>
13 messages
2012/07/30
[ruby-dev:45982] Re: [ruby-trunk - Feature #6694] Thread.new without block.
From:
SASADA Koichi <ko1@...>
Date:
2012-07-20 07:05:51 UTC
List:
ruby-dev #45982
(2012/07/20 15:46), shyouhei (Shyouhei Urabe) wrote: > Forgot to mention to @_ko1 that both POSIX and Windows API starts threads immediately when they are created. > > It is not that obvious what should happen when a thread that was created is not running. On POSIX and Windows threads, the creation API has configuration parameter. Thread.new doesn't have. > For instance, to join that thread should do what? Two possible solutions. 1. raise ThreadError 2. wait for thread run and exit. On second solution, it is easy to understand that the thread created by Thread.new without procedure (block or parameter) start and stop (Thread#wait) immediately. But I prefer 1. -- // SASADA Koichi at atdot dot net