diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-28 17:59:27 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-28 18:00:04 -0800 |
commit | 40445641f11f01c6a24bf96c8b80eed5fd33a512 (patch) | |
tree | 57a7652cc03f46407d51babfd04d72d1c401ac99 /lib/rainbows/coolio_thread_spawn | |
parent | 3495d59763e6159975debf32728dc53fc41c5ea1 (diff) | |
download | rainbows-40445641f11f01c6a24bf96c8b80eed5fd33a512.tar.gz |
complete Rev => Coolio renaming
We use Cool.io internally everywhere now, but preserve Rev-based models for anybody using them.
Diffstat (limited to 'lib/rainbows/coolio_thread_spawn')
-rw-r--r-- | lib/rainbows/coolio_thread_spawn/client.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rainbows/coolio_thread_spawn/client.rb b/lib/rainbows/coolio_thread_spawn/client.rb new file mode 100644 index 0000000..70cff99 --- /dev/null +++ b/lib/rainbows/coolio_thread_spawn/client.rb @@ -0,0 +1,8 @@ +# -*- encoding: binary -*- +# :enddoc: +class Rainbows::CoolioThreadSpawn::Client < Rainbows::Coolio::ThreadClient + # MASTER will be set in worker_loop + def app_dispatch + Thread.new(self) { |client| MASTER << [ client, app_response ] } + end +end |