Skip to content

Commit

Permalink
required_changes
Browse files Browse the repository at this point in the history
  • Loading branch information
haridutt12 committed Aug 1, 2017
1 parent bdce592 commit 521933a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/concurrent/set_spec.rb
Expand Up @@ -7,9 +7,9 @@ module Concurrent
(1..THREADS).map do |i|
Thread.new do
1000.times do |j|
set << i * 1000 + j
set.each { |x| x * 2 }
set.delete(i * 1000 + j)
set << i
set.empty?
set.delete(i)
end
end
end.map(&:join)
Expand Down

0 comments on commit 521933a

Please sign in to comment.