Defines event list and operations on it
Methods
|
|
__init__
_nextev
_post
_unpost
|
|
__init__
|
__init__ ( self )
|
|
_nextev
|
_nextev ( self )
Retrieve next event from event list
Exceptions
|
|
Simerror("No more events at time %s" % now() )
|
|
|
_post
|
_post (
self,
what,
at,
prior=False,
)
Post an event notice for process what for time at
Exceptions
|
|
SimError( "Attempt to schedule event in the past" )
|
|
|
_unpost
|
_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
|
|