Method: Utilrb::ThreadPool#process

Defined in:
lib/utilrb/thread_pool.rb

#process(*args) {|*args| ... } ⇒ Task

Processes the given block as soon as the next thread is available.

Parameters:

  • args (Array)

    the block arguments

Yields:

  • (*args)

    the block

Returns:



395
396
397
# File 'lib/utilrb/thread_pool.rb', line 395

def process (*args, &block)
    process_with_options(nil,*args,&block)
end