Skip to content

Commit

Permalink
working Rubinius.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 4, 2012
1 parent 3ac2850 commit 047a3ae
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spec/ruby/core/thread/join_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,4 @@
lambda { t.join }.should raise_error(NotImplementedError)
end
end

it "does not deadlock by killed threads which were going to sleep infinitely" do
100000.times do
t = Thread.new do
sleep
end
t.kill
t.join.should == t
end
end
end

0 comments on commit 047a3ae

Please sign in to comment.