Module: Concur

Defined in:
lib/future.rb,
lib/concur.rb,
lib/executor.rb,
lib/runnable.rb,
lib/completer.rb,
lib/thread_pool.rb,
lib/concur/config.rb,
lib/concur/version.rb,
lib/futures/event_machine_future.rb,
lib/executors/never_block_executor.rb,
lib/executors/event_machine_executor.rb

Overview

This doesn’t work as expected. Not sure how to get it to non block on the IO calls

Defined Under Namespace

Modules: Executor, Future, Runnable Classes: Completer, Config, EventMachineError, EventMachineExecutor, EventMachineFuture, EventMachineFuture2, EventMachineFutureCallback, HttpResponseWrapper, MultiThreaded, NeverBlockExecutor, SingleThreaded, StandardFuture, ThreadPool

Constant Summary collapse

VERSION =
"2.1.1"
@@logger =
Logger.new(STDOUT)
@@config =
Config.new

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/concur.rb', line 19

def self.config
  @@config ||= Config.new
end

.loggerObject



12
13
14
# File 'lib/concur.rb', line 12

def self.logger
  @@logger
end

.logger=(logger) ⇒ Object



15
16
17
# File 'lib/concur.rb', line 15

def self.logger=(logger)
  @@logger = logger
end