[omniORB] How to get _refCount() on object reference?

Duncan Grisby duncan at grisby.org
Mon Oct 23 17:18:19 BST 2006


On Thursday 12 October, Tuyen Chau wrote:

> Is there an easy way to get _refCount() on an object reference?

You can't. What are you trying to achieve by accessing the reference
count?  Most things you could attempt to do would be subverted by race
conditions where the reference count changes after you access it.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list