1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/thread
kosaki 19e0d7c18e * test/thread/test_queue.rb (TestQueue#test_thr_kill): reduce
iterations from 2000 to 250. When running on uniprocessor
  systems, every th.kill needs TIME_QUANTUM_USEC time (i.e.
  100msec on posix systems). Because, "r.read 1" is 3 steps
  operations that 1) release GVL 2) read 3) acquire gvl and
  (1) invoke context switch to main thread. and then, main
  thread's th.kill resume (1), but not (2). Thus read interrupt
  need TIME_QUANTUM_USEC. Then maximum iteration is 30sec/100msec
  = 300.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 04:00:44 +00:00
..
test_cv.rb * test/ruby/test_thread.rb: move ConditionVariable related test 2012-12-01 08:29:09 +00:00
test_queue.rb * test/thread/test_queue.rb (TestQueue#test_thr_kill): reduce 2013-03-10 04:00:44 +00:00
test_sync.rb * lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code. 2012-09-09 11:34:47 +00:00