Dirk Luesebrink (crux++at++artcom.de)
Mon, 6 Jun 1994 12:50:29 +0100 (MDT)
// main simulation loop
while (!Shared->exitFlag)
{
pfSync();
viewer->update();
plexControl.stopAll();
pfFrame();
plexControl.contAll();
updateScene();
}
there stopAll and contAll will stop (cont) all threads which are started
from somewhere in the application. the idea is, to have the extra
threads in perfect sync with the application process.
when i do that, Performer Warning (13) disapears. so far so good.
But, then after while of loading, the whole applicatio wil hang. pfFrame
does not return any more. it looks like one of the threads aquires some
resources, then gets blocked, pfFrame starts and waits for that
resource, but will never get it because the holding thread is stopped.
off course i could stop the application for running completly through
the thread and continue afterwards, but thats not what i want.
any help or hint is greatly appriciated.
dirk Luesebrink
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:19 PDT