Re: Help with pfRealloc!

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 12 Dec 1997 16:09:40 -0500


On Dec 12, 10:53am, Pari Natarajan wrote:
> Subject: Help with pfRealloc!
> Hi performers,
> Is there a way to allocate memory in the shared memory using
> pfRealloc. pfMalloc and pfCalloc have options for it. But was not
> able to figure out how to use pfRealloc to allocate in shared memory.
> The man page says that its possible.
>

Yes, the memory reallocation will be done in the same arena that was first
allocated with the initial pfMalloc or pfCalloc. That's why you don't need
to specify the arena again.

-- 
Nicolas Gauvin              CAE Electronics Ltd., 8585 Cote De Liesse
3D Graphics Software        Saint-Laurent, Quebec, Canada, H4L-4X4
nicolas++at++cae.ca              Tel: (514) 341-2000 x2275, Fax: (514) 340-5496 
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

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:56:24 PDT

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