Method: Evt::Bundled#initialize

Defined in:
lib/evt/backends/bundled.rb

#initializeBundled

Returns a new instance of Bundled.



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/evt/backends/bundled.rb', line 7

def initialize
  @readable = {}
  @writable = {}
  @waiting = {}
  @iovs = {}
  
  @lock = Mutex.new
  @blocking = 0
  @ready = []
  @collect_counter = 0

  init_selector
end