Memory allocation : when, where, how ?

New Message Reply Date view Thread view Subject view Author view

Norbert BIANCHIN (norbert++at++shark.paris.sgi.com)
Tue, 18 Jan 1994 16:35:38 +0100


Hi,

I need informations and precisions about memory allocation in Performer.

What is the difference between :
        - pfMalloc(NULL)
        - pfMalloc(number, pfGetSharedArena())
        - arena = pfGetSharedArena(); pfMalloc(number, arena);

What is the best way to allocate memory in Performer ?

When arena must be use in Performer ?

Is there a difference between the objects in Performer (pfMaterial, pfList,
pfFog, pfFrustum, pfChannel, pfGroup, pfGeode ...) and the way you allocate
them ?

When you are using Multi processing, what must be allocated in arena ?

Thanks for your help.
Norbert


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:50:08 PDT

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