Home | Trees | Index | Help |
---|
Package SimPy :: Module SimulationTrace :: Class Process |
|
object
--+ |Lister
--+ | Process
FireEvent
,
FireEvent
,
Interrupted
,
Interruptor
,
Job
,
JobEvt
,
JobEvt
,
JobEvtMulti
,
JobEvtMulti
,
JobTO
,
JobTO
,
JobTO_P
,
Observer1
,
Observer2
,
P
,
PS1
,
PS2
,
QueueProcess
,
QueueProcessOR
,
QueueProcessOR1
,
Signaller
,
SignalProcess
,
SignalProcessOR
,
Waiter
,
WaitProcess
,
WaitProcessOR
,
WaitProcessOR1
Method Summary | |
---|---|
__init__(self,
name)
| |
Tests whether resource res was acquired when proces reactivated. | |
active(self)
| |
Application function to cancel all event notices for this Process instance;(should be all event notices for the _generator_). | |
Application function to interrupt active processes | |
interrupted(self)
| |
Application function for an interrupt victim to get out of 'interrupted' state. | |
passive(self)
| |
queuing(self,
resource)
| |
terminated(self)
| |
_hold(self,
a)
| |
_passivate(self,
a)
| |
Inherited from Lister | |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Class Variable Summary | |
---|---|
Inherited from Lister | |
int |
indent = 0 |
Method Details |
---|
acquired(self, res)Tests whether resource res was acquired when proces reactivated. If yes, the parallel wakeup process is killed. If not, process is removed from res' waitQ (reneging). |
cancel(self, victim)Application function to cancel all event notices for this Process instance;(should be all event notices for the _generator_). |
interrupt(self, victim)Application function to interrupt active processes |
interruptReset(self)Application function for an interrupt victim to get out of 'interrupted' state. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Nov 16 12:02:50 2005 | http://epydoc.sf.net |