[omniORB] Different Thread each request
Duncan Grisby
dgrisby@uk.research.att.com
Tue, 29 Aug 2000 17:49:44 +0100
On Tuesday 29 August, "James Dempsey" wrote:
> Is there a way to tell omniORB to use the same thread for each
> request from the same client? The problem I'm having is that my
> CORBA operation calls into a Windows DLL and the fact that a
> different thread is used for each call is creating problems for the
> DLL. I also don't own the code for the DLL so I can't change its
> behavior.
No, you cannot do that directly. The solution is to start a worker
thread for yourself, and post messages to it from the omniORB
threads. It's a fun exercise in concurrency control :-) .
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --