pfDataPools

New Message Reply Date view Thread view Subject view Author view

E-Hendon (elke++at++tyrann.atlas.de)
Mon, 20 Mar 1995 18:19:49 -0100 (GMT-1:00)


Hi!

I have a problem with pfDPoolTest and pfDPoolLock within the DRaw Process.
I get every time a SIGCHLD , due to the death of the draw process. ( I use
the PFMP_DEFAULT token).
  The environment is as follows: I have a 2-CPU Onyx RE2, IRIX5-2,
Performer 1.2. In the APP process I make some basic calculations, which
in the draw process are rendered using GL. This rendering is made after
all Performer-based drawing is completed. The Datapool is created in the
APP process and attached to in the draw process as follows:
APP:
rdp = pfNewDPool( 2*sizeof(R_dp_t), "RDP" );
r_mem = (R_dp_t *)pfDPoolAlloc(rdp, sizeof(R_dp_t), 1);

DRAW:
  dp = pfAttachDPool("RDP");
 r_mem = (ROV_dp_t *)pfDPoolFind(dp,1);

in both proc the variables dp and r_mem are isolated to the process (static).
I use lock and unlock in each process before access.

What causes the fatal interruption of the draw process?
Does anyone see a problem?

E. Hendon
Simulation Division
STN-ATLAS Elektronik
28309 Bremen
elke++at++tyrann.atlas.de


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:05 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.