On Tue, 2008-06-17 at 00:18 +0100, Samuel Thibault wrote:
> Hello,
> 
> Madhusudan C.S, le Tue 17 Jun 2008 04:12:42 +0530, a écrit :
> > 1.   Is it better to free all those nodes as soon as they are displayed and
> > create them whenever they are required?
> 
> Just do that. No need to cache anything. Just let the reference counting
> free the node when the client doesn't need it any more. A lot more
> simple and should be just enough.

And return a sane error in the case a user tries to operate on a node
which for a process which has exited.  "Sane error" of course means
"more or less whatever BSD and/or Linux do".

Thomas




Reply via email to