[omniORB] Threads and MFC

Duncan Grisby dgrisby@uk.research.att.com
Wed, 15 Aug 2001 15:26:02 +0100


On Monday 13 August, "von Tabouillot" wrote:

[ please don't send html mail to the omniORB mailing list ]

>     I have an CORBA object, implemented in an DLL, that is called from
> an MFC application. MFC does thread sync. through a hidden window and is
> therefore inherently slow in context switches. When my object is invoked
> from a normal console application it performs 5-10 times faster. Is
> there any way to force omniORB ( v.3.0.4 ) to use a separate thread for
> local invocations, as it does if called from an external program ?

I don't know anything about MFC, so perhaps I misunderstand your
problem. Can you just create your own thread and do your local
invocations from that?  What exactly is it that is slow?

Cheers,

Duncan.

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