Re: pfGetSharedArena question?

New Message Reply Date view Thread view Subject view Author view

Greg Edwards, SGI UK. (gedwards++at++cordoba.reading.sgi.com)
Wed, 31 Jan 1996 17:46:26 +0000


On Jan 31, 5:27pm, Nuno Godinho wrote:
> Subject: pfGetSharedArena question?
> Hi. I'm using Performer 1.2 and can't seem to fully understand how shared
memory
> works in Performer.
>
> Here goes:
>
> -Does it make sense to call pfGetSharedArena() more than once?
> -Some examples I saw call Shared=pfGetSharedArena() at the initialization and
> then just use Shared wherever they need it. Both approaches work, right?
>
> thanks
> Nuno
>
>-- End of excerpt from Nuno Godinho

Yep, it's just a pointer to an address. pfGetSharedArena() will give you the
same answer every time, or you can remember it yourself and save a few
microseconds of function call overhead.

-- 
__________________________________________________________________________
Greg Edwards, Graphics Support/Consulting Group, Silicon Graphics UK Ltd.
Forum 1, Theale, Reading, UK, RG7 4RA.
tel +44 1734 257500, direct +44 1734 257740, fax +44 1734 257553
gedwards++at++reading.sgi.com, US vmail 59130, UK vmail 7740#, mailstop IUK-311

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:52:19 PDT

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