diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-05-08 07:47:03 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-05-08 07:47:03 +0000 |
commit | ed869514211a908748f04a881e6fb18a395914ae (patch) | |
tree | 1e948dbd8ff3b44a39fc1346b761acaac64a8886 /lib | |
parent | 8af417bbacb285c90a376c55a42fe39a981a328d (diff) | |
download | rainbows-ed869514211a908748f04a881e6fb18a395914ae.tar.gz |
No need for a string comparison
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/join_threads.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/join_threads.rb b/lib/rainbows/join_threads.rb index 5d5c64f..7ab2004 100644 --- a/lib/rainbows/join_threads.rb +++ b/lib/rainbows/join_threads.rb @@ -10,7 +10,7 @@ module Rainbows::JoinThreads Rainbows.tick begin # blocking accept() may not wake up properly - thr.raise(Errno::EINTR) if Time.now > expire && "sleep" == thr.status + thr.raise(Errno::EINTR) if Time.now > expire && thr.stop? thr.run thr.join(0.01) |