Re: ref counting in Bonobo



Walt Pohl <pohl@math.washington.edu> writes:

> I have a suggestion, then.  Admittedly, it would be difficult to design a
> good mechanism to handle clients dying.  But allowing clients to
> directly call the Unknown::ref and Unknown::unref requests on the remote
> object makes it difficult to replace the lifetime management mechanism
> later.
> 
> Instead, insulate clients from the actual details of ref counting by provide
> ref and unref library functions.  Currently, they can be implemented as

Well, if i am not mistaken , this is allready the case of Bonobo C 
implementation: we have gnome_object_ref and gnome_object_unref (not
really usre about the actual name but they're there, for sure)

> calls the object's ref and unref methods, but in the future, Gnome could
> transparently replace the mechanism in a future release.



athieu

-- 
Mathieu Lacage 
Snailmail: ch 224, 212 Rue de Tolbiac 75013 Paris
email: lacage@email.enst.fr
url: http://www.stud.enst.fr/~lacage



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]