Sha256: a16316615ce8fb96e48c9a0a4f043ece018be4b2c638a0f495ead73644515415
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
__END__ require 'test/unit' $-w = true require 'sleepy_penguin' class TestEpollGcPerThread < Test::Unit::TestCase include SleepyPenguin def test_per_thread_gc_storm thr = [] pipes = [] 100000.times do t = Thread.new do ep = Epoll.new ep.add(r, Epoll::IN) ep.wait { | end thr << t if thr.size > 100 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sleepy_penguin-3.1.0.26.g7181 | test/test_epoll_gc_per_thread.rb |