swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ControlPanel puzzle (1.2)


From: Marcus G. Daniels
Subject: Re: ControlPanel puzzle (1.2)
Date: 30 Jul 1998 11:11:29 -0700

>>>>> "ST" == Sven N Thommesen <address@hidden> writes:

ST> 1. While the sim is running: a) after I hit Stop, the sim runs 2
ST> more periods before stopping

There is an event queue (the ActionCache) that takes user events and
dispatches them by scheduling them one timestep in the future.  This
accounts for the latency.

ST> b) then, I have to hit Step or Next
ST> twice before anything happens;

What do you mean by "anything"?  That you don't see something
happen on the screen?  Are you sure there aren't model events
being executed?

ST> I note that HeatbugBatchSwarm calls [self stopRunning],
ST> while mousetraps does [getTopLevelActivity() terminate]. 

stopRunning is a method in HeatbugBatchSwarm which calls
[getTopLevelActivity() terminate].


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]