xepoll_thread_spawn/client: remove rdoc
[rainbows.git] / lib / rainbows / xepoll_thread_spawn.rb
blobad2bdc4a0deabf9046f701a5d465b8d88d395ce0
1 # -*- encoding: binary -*-
2 require "thread"
3 require "sleepy_penguin"
4 require "raindrops"
6 module Rainbows::XEpollThreadSpawn
7   include Rainbows::Base
9   def init_worker_process(worker)
10     super
11     require "rainbows/xepoll_thread_spawn/client"
12     Rainbows::Client.__send__ :include, Client
13   end
15   def worker_loop(worker) # :nodoc:
16     init_worker_process(worker)
17     Client.loop
18   end
19 end