[omniORB] Thread-safety of Any with local calls
Chris Newbold
cnewbold@laurelnetworks.com
Fri Oct 4 17:15:02 2002
On Fri, 2002-10-04 at 12:04, Duncan Grisby wrote:
> value() is thread safe relative to other threads reading the Any, but
> not to other threads writing to it. All value() does is return a
> pointer to the underlying memory buffer storing the marshalled form of
> the Any.
But it looks like both value() and marshaling/extraction (via
tcParser::copyTo) call rewind_in_mkr() on the underlying bufferedStream.
Isn't this going to cause problems?
--
====( Chris Newbold <cnewbold@laurelnetworks.com> )==========================
Laurel Networks, Inc. voice: +1 412 809 4200 fax: +1 412 809 4201
"If you fool around with a thing for very long you will screw it up." --Murphy
------------------------------------------------------------------------------