Home
last modified time | relevance | path

Searched refs:worker_queue (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/src/ruby/lib/grpc/generic/
Drpc_server.rb67 worker_queue = @ready_workers.pop
69 fail 'worker already has a task waiting' unless worker_queue.empty?
70 worker_queue << [blk, args]
99 worker_queue = @ready_workers.pop
100 worker_queue << [proc { throw :exit }, []]
134 def loop_execute_jobs(worker_queue) argument
137 blk, args = worker_queue.pop
144 fail('received a task while busy') unless worker_queue.empty?
147 @ready_workers << worker_queue