repo.or.cz
/
rainbows.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
xepoll_thread_spawn/client: close returns nil
[rainbows.git]
/
lib
/
rainbows
/
never_block
/
event_machine.rb
blob
5c5ded91c01a39d6dac43a6b5d61e304855a6513
1
# -*- encoding: binary -*-
2
# :enddoc:
3
class Rainbows::NeverBlock::Client < Rainbows::EventMachine::Client
4
def app_call input
5
POOL.spawn do
6
begin
7
super input
8
rescue => e
9
handle_error(e)
10
end
11
end
12
end
13
end