Tom Impelluso (verdi++at++piano.ucsd.edu)
Wed, 3 Sep 1997 10:42:44 -0700
I have notice that whatever commands which require the
memory from shared memory; i.e.:
pfMalloc(sizeof(DCSData), arena);
they must always be prefaced by:
arena = pfGetSharedArena();
In fact, as I understand, it is even possible to do this:
pfMalloc(sizeof(DCSData), pfGetSharedArena());
This, now, begs the question:
What is the purpose of pfGetSharedArena();
Meaning this:
If it must always be called, what is the point of
having it as an optional command? Why not imbed it inside the
pfMalloc()? The fact that this is not done suggests, to me, that
there must be another purpose for:
arena = pfGetSharedArena();
which has a use distinct from
pfMalloc(sizeof(DCSData),arena);
Could someone elaborate on this?
Thanks,
Tom
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:52 PDT