[omniORB] omniORB 3/4 create_POA deadlocks

Duncan Grisby duncan@grisby.org
Mon Oct 14 16:44:00 2002


On Thursday 10 October, Teemu Torma wrote:

> In omniORB 3.0 (and 4, since the code is the same), create_POA deadlocks
> if we are creating a poa and another one of the same name is being
> destroyed.  create_POA tries to deal with this, but unfortunately the
> locking conflicts between create_POA and do_destroy and will cause a
> deadlock.  Also create_POA does nothing to prevent the old poa of the
> same name being deleted whilst still referencing to it.

Thanks for discovering that and tracking the cause down. I've checked
in a fix to omniORB 4's CVS. Does anyone think it's worth back-porting
to omniORB 3?  It's a pretty obscure condition.

Cheers,

Duncan.

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