[omniORB] Weird behavior with omniORBpy 1.x and ServantLocators

Duncan Grisby dgrisby@uk.research.att.com
Thu, 09 Aug 2001 16:50:36 +0100


On Thursday 9 August, John D. Heintz wrote:
> On Thursday 09 August 2001 04:03, Duncan Grisby wrote:

> > The problem is that the POA does nothing to prevent concurrent calls
> > to your ServantLocator and servant. You have a race condition where
> 
> Really?

Yes. Section 11.3.6 of the 2.4 specification says:

  "No serialization of invocations of preinvoke or postinvoke may be
   assumed; there may be multiple concurrent invocations of preinvoke
   for the same ObjectId."

>    Do interceptors behave the same way?

What are you hoping to achieve with interceptors?  Whatever it is, all
interceptors have to cope with the possibility of concurrent calls.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --