Module: Threadz

Defined in:
lib/threadz.rb,
lib/threadz/batch.rb,
lib/threadz/sleeper.rb,
lib/threadz/version.rb,
lib/threadz/directive.rb,
lib/threadz/thread_pool.rb,
lib/threadz/atomic_integer.rb

Defined Under Namespace

Classes: AtomicInteger, Batch, Directive, Sleeper, ThreadPool

Constant Summary collapse

DEBUG =
ENV['THREADZ_DEBUG'] == "1"
VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.dputs(string) ⇒ Object



27
28
29
# File 'lib/threadz.rb', line 27

def Threadz.dputs(string)
  puts(string) if DEBUG
end