Method: FreeMessageQueue::SyncronizedQueue#poll
- Defined in:
- lib/fmq/queues/syncronized.rb
#poll ⇒ Object
Returns one item from the queue
40 41 42 43 44 |
# File 'lib/fmq/queues/syncronized.rb', line 40 def poll() @semaphore.synchronize { super } end |