From: Peter H.M. J. <p.h...@tb...> - 2004-12-14 14:58:51
|
Dear Fred, You are not misunderstanding the concept. To see where stuff goes wrong, I have two questions for you: a) are you using the development code from DSOL's CVS or are you using the stable sourceforge version? b) Could you send me your Process code? I can have a look at it. Kind regards, Peter Jacobs _____ From: dso...@li... [mailto:dso...@li...] On Behalf Of Frederick S. Kuhl Sent: Tuesday, December 14, 2004 3:53 PM To: dso...@li... Subject: [Dsol-java] suspending a Process I'm attempting to use a Process (nl.tudelft.simulation.formalisms.process.Process). I see that the Process code (Process.process()) begins to run in the Interpreter when Process.resume() is called the first time. I believe that the Process.process() method eventually calls Process.suspend(), and that this should cause the Interpreter to set aside the Process's stack and return from the call to resume() in its original caller. However, this doesn't seem to be working. Instead, theInterpreter throws SimRuntimeException. Am I misunderstanding something? Fred Kuhl |