From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 02/14/2001 17:22:44
Hello Mark !
> Is it OK to pfDelete non-libpf/libpr objects in a forked cull or draw
> process? Should pfAsyncDelete be used?
I assume that ``non-libpf/libpr objects'' refers to objects that you
pfMalloc'ed or that are a subclass of pfMemory. If this is true, then you can
use either pfDelete or pfAsyncDelete. You can NOT use Performer deletion
functions to delete user-memory that wasn't allocated by pfMalloc.
pfDelete checks that an object has zero ref-count. It returns FALSE if the
object can not be deleted (non zero ref count).
pfAsyncDelete queues up an object for later deletion in a DBASE process (or APP
process if no DBASE process is available). You can't confirm that the object
was indeed deleted.
-yair
--
\_________ \_____ \__ \__ \_____ Yair Kurzion
\_________ \_____ \__ \__ \_____ yair++at++sgi.com
\__ \__ \____\__ \__ http://reality.sgi.com/yair
\__ \__ \__ Work: (650) 933-6502
\__ \__ \__ Home: (408) 226-9771
\__ \__ \__
This archive was generated by hypermail 2b29 : Wed Feb 14 2001 - 17:23:10 PST