diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-12-22 06:28:13 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-22 06:29:52 +0900 |
commit | cf59e1476d01be27dc88cbee5f6c6cf87f007043 (patch) | |
tree | 05b26cd9edb616daf410e1e2fddaa35e26168e6e /test/runner.rb | |
parent | fa1bf8ab37caad5fa0679adc0ecb8f6f5cec2eea (diff) | |
download | ruby-cf59e1476d01be27dc88cbee5f6c6cf87f007043.tar.gz |
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.
Diffstat (limited to 'test/runner.rb')
0 files changed, 0 insertions, 0 deletions