[omniORB] omniORB 3/4 create_POA deadlocks

Duncan Grisby duncan@grisby.org
Tue Oct 22 16:01:01 2002


On Monday 14 October, Teemu Torma wrote:

> There is actually one scenario that might fail--if we are waiting for a
> child to destruct and someone destroys us.  Since we do not hold any
> locks at the time, we should probably also increment our ref count to
> avoid any nasty problems. 

I don't think that can happen unless the application is broken can it?
The application ought to be holding a reference to us until the
destroy() call has returned, so our reference count should be at least
one.

Cheers,

Duncan.

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