diff options
Diffstat (limited to 'lib/rainbows/rev_thread_spawn/client.rb')
-rw-r--r-- | lib/rainbows/rev_thread_spawn/client.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rainbows/rev_thread_spawn/client.rb b/lib/rainbows/rev_thread_spawn/client.rb new file mode 100644 index 0000000..60afc9b --- /dev/null +++ b/lib/rainbows/rev_thread_spawn/client.rb @@ -0,0 +1,8 @@ +# -*- encoding: binary -*- +# :enddoc: +class Rainbows::RevThreadSpawn::Client < Rainbows::Rev::ThreadClient + # MASTER will be set in worker_loop + def app_dispatch + Thread.new(self) { |client| MASTER << [ client, app_response ] } + end +end |