| Home | Trees | Index | Help |
|---|
| Package SimPy :: Module SimulationStep :: Class Process |
|
object--+ |Lister--+ | Process
Consumer,
ConsumerPrincL,
ConsumerPrincS,
ConsumerWidget,
FireEvent,
Interrupted,
Interruptor,
Job,
JobEvt,
JobEvtMulti,
JobTO,
JobTO_P,
Observer1,
Observer2,
P,
Producer,
ProducerPrincL,
ProducerPrincS,
ProducerWidget,
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)
| |
| 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 Jun 14 14:32:44 2006 | http://epydoc.sf.net |