Class: Actor::Scheduler

The Actor Scheduler maintains a run queue of actors with outstanding messages who have not yet processed their mailbox. If all actors have processed their mailboxes then the scheduler waits for any outstanding Rev events. If there are no active Rev watchers then the scheduler exits.

Public Class Methods


Public Instance Methods


<< (actor)

Schedule an Actor to be executed, and run the scheduler if it isn‘t currently running


run ()

Run the scheduler


running? ()

Is the scheduler running?

Protected Instance Methods