Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/ruby/shared/mutex/lock.rb
Original file line number Diff line number Diff line change
@@ -36,15 +36,9 @@
th = Thread.new do
m.lock
m.lock
v = 1
end

Thread.pass while th.status and th.status != "sleep"

ScratchPad.recorded.should be_nil

lambda do
th.kill
th.join
end.should raise_error(ThreadError)
end

0 comments on commit a6fc17e

Please sign in to comment.