repo.or.cz
/
unicorn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
drop redundant IO#close_on_exec=false calls
[unicorn.git]
/
lib
/
unicorn
/
select_waiter.rb
blob
cb84aab6e3e06a07fda5178ab1be267761f6b2f1
1
# fallback for non-Linux and Linux <4.5 systems w/o EPOLLEXCLUSIVE
2
class Unicorn::SelectWaiter # :nodoc:
3
def get_readers(ready, readers, timeout) # :nodoc:
4
ret = IO.select(readers, nil, nil, timeout) and ready.replace(ret[0])
5
end
6
end