[omniORB] omniORB 3.04 Thread-safety of CORBA structures

Duncan Grisby duncan@grisby.org
Thu Jan 30 15:53:02 2003


On Wednesday 29 January, "Manning, Kevin J" wrote:

> 1) It would appear that the copying of a read-only CORBA struct
> containing an any is not thread-safe.  Is this the case?

In omniORB 3.0.x, Anys are not thread safe for reading, since they
maintain some internal state about where the reader is reading from
within the Any buffer. omniORB 4.0 fixes that, so reading from an Any
is thread safe.

Cheers,

Duncan.

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