[ruby-cvs:78803] cf59e1476d (master): fix a thread test.

"Koichi Sasada" <[email protected]> Sun, 22 Dec 2019 06:30:32 +0900 (JST)
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Koichi Sasada	2019-12-22 06:28:13 +0900 (Sun, 22 Dec 2019)

  New Revision: cf59e1476d

  https://github.com/ruby/ruby/commit/cf59e1476d

  Log:
    fix a thread test.
    
    * Use Queue for synchronization.
    * Don't use `sleep 0.2` and use `th.join` because created thread
      can raise an exception after 0.2 seconds.

  Modified files:
    test/ruby/test_thread.rb