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

* thread.c: clear thread structure.

(TODO: survey that child process should clear mutex or not).
* bootstraptest/test_knownbug.rb, test_thread.rb: move a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-01-14 10:02:51 +00:00
parent 4b8de30bc5
commit 5360e77db8
3 changed files with 28 additions and 1 deletions

View file

@ -193,3 +193,11 @@ rescue
100
end
}, '[ruby-dev:31371]'
assert_equal 'true', %{
t = Thread.new { loop {} }
pid = fork {
exit t.status != "run"
}
Process.wait pid
$?.success?
}