Re: How expensive is a stub duplicate/release pair?
- From: Diego Sevilla Ruiz <dsevilla ditec um es>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: orbit-list gnome org
- Subject: Re: How expensive is a stub duplicate/release pair?
- Date: Tue, 16 Apr 2002 11:50:54 -0500
Hi!
On Tue, Apr 16, 2002 at 06:34:25PM +0200, ERDI Gergo wrote:
> Hi,
>
> How expensive is it to do the following:
> dupl = CORBA_Object_duplicate (orig);
> CORBA_Object_release (dupl);
> ? Does it involve any roundtrips to the server?
No, it doesn't. It only increments/decrements the internal proxy
object's counter.
> I'm asking because I can
> either complicate the ORBit2/C++ internals and avoid some of these, or
> decide not to care if it's just some counter++/counter-- stuff.
>
It should be something like this. (I mean counter++/counter--).
Best regards.
diego
--
Diego Sevilla Ruiz http://ditec.um.es/~dsevilla dsevilla@um.es \ /\
Dpto. Ingeniería y Tecnología de Computadores http://ditec.um.es ) ( ')
Visiting Extreme! Computing Lab http://extreme.indiana.edu ( / )
Indiana University, Bloomington http://www.iub.edu \(__)|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]