hello,

i have programmed a SPICE-like simulator where each element to simulate is in a
thread. Now when running i send through the tree representing the circuit an
impulse for some sort of computation and wait for completion before launching
the next step.

I noticed that for some reason the whole system come to a stop, whilst there
where processes that are waiting after a yield. Those processes should be
sleeping, but waked as soon as there are no other process, or am i wrong? At
the moment it doesn't behave this way and i had to put in a thread with a
timer, which periodically calls a dummy method on all present objects to wake
them :( this isn't as i thought it was supposed to work....

-- 
ciao bboett
==============================================================
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to