Package SimPy :: Module Simulation :: Class __Evlist
[hide private]
[frames] | no frames]

Class __Evlist

source code

Defines event list and operations on it

Instance Methods [hide private]
  __init__(self)
  _post(self, what, at, prior=False)
Post an event notice for process what for time at
  _unpost(self, whom)
Search through all event notices at whom's event time and remove whom's event notice if whom is a suspended process
  _nextev(self)
Retrieve next event from event list

Method Details [hide private]

__init__(self)
(Constructor)

source code 
None

_post(self, what, at, prior=False)

source code 
Post an event notice for process what for time at

_unpost(self, whom)

source code 
Search through all event notices at whom's event time and remove whom's event notice if whom is a suspended process

_nextev(self)

source code 
Retrieve next event from event list