[omniORB] object references and threads

Duncan Grisby dgrisby@uk.research.att.com
Mon, 12 Mar 2001 18:10:03 +0000


On Thursday 8 March, "Lars Mezler" wrote:

> we contact an c++ client with a c++ server both using Omni 2.71 with
> windows. The client uses two threads. The first one to narrow and
> first-contact the Object, the second one to work with the returned data
> and send some stuff back to the server. The release of the object is
> done in the first thread.
> 
> There seems to be a memory leak when doing calls to one object from
> different threads. Does anybody know about this? Is it possible to write
> "clean" code for this (copy of references or something)?

I don't quite follow what you are trying to do. Can you post some
short example code which shows the problem?

Cheers,

Duncan.

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