Bruno Rassaerts (brassaer++at++luc.ac.be)
Mon, 27 Nov 1995 10:57:02 +0100 (MET)
My application gets in a deadlock when I use PFMP_FORK_DRAW as
multiprocessing mode. I just do the following things in the draw callback:
void PreDraw (pfChannel * chan, void *data)
{
static long firstTime = 1;
if (firstTime)
{
/* Prebind textures to be used in simulation */ {
pfuDownloadTexList (ac->texList, PFUTEX_SHOW);
firstTime = 0;
}
/* Clear the frame buffer */ }
pfClearChan (chan);
}
void PostDraw (pfChannel * chan, void *data)
{
}
void DrawFunc (pfChannel * chan, void *data)
{
PreDraw (chan, data);
pfDraw ();
PostDraw (chan, data);
}
I don't use any drawing functions in the application process. Does anyone
have any ideas ?
Bruno Rassaerts
Labo Toegepaste Informatica
Limburgs Universitair Centrum
Diepenbeek
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:03 PDT