Hi!

Maybe another thread with a higher priority is blocking the system. Are
you sure that all your threads are yield()ing sometimes? Even if you have
only threads with same priorities it is not guaranteed, that your
yielding threads are woken up after a time.

On Mon, 10 Jul 2000, Bruno Boettcher wrote:

> 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....

-- 
Bye...
        Andreas Kopecki                                   Benutzerberater
                                                                    Emacs
                   [EMAIL PROTECTED]               
             http://www.uni-stuttgart.de/WWWraum/goodies.html
-------------------------------------------------------------------------



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

Reply via email to