Class God::DriverEventQueue
In: lib/god/driver.rb
Parent: Object

Methods

<<   clear   deq   empty?   enq   length   new   pop   push   shift   shutdown   size  

Public Class methods

Public Instance methods

<<(event)

Alias for push

deq()

Alias for pop

enq(event)

Alias for push

Sleep until the queue has something due

Add an event to the queue, wake any waiters if what we added needs to happen sooner than the next pending event

shift()

Alias for pop

Wake any sleeping threads after setting the sentinel

size()

Alias for length

[Validate]