[omniORB] Threads and MFC
von Tabouillot
vontab@mail.tele.dk
Mon, 13 Aug 2001 15:29:57 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C1240C.CEF5FE80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 ?
=20
Cheers,
=20
Daniel
=20
------=_NextPart_000_000B_01C1240C.CEF5FE80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D593492108-09082001> <FONT =
size=3D2>I have an=20
CORBA object, implemented in an DLL, that is called from an MFC =
application. MFC=20
does thread sync. through a hidden window and is therefore inherently =
slow in=20
context switches. When my object is invoked from a normal console =
application it=20
performs 5-10 times faster. Is there any way to force omniORB ( v.3.0.4=20
) to use a separate thread for local invocations, as it does if =
called from=20
an external program ?</FONT></SPAN></DIV>
<DIV><SPAN class=3D593492108-09082001><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D593492108-09082001><FONT =
size=3D2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=3D593492108-09082001><FONT =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D593492108-09082001><FONT =
size=3D2>Daniel</FONT></SPAN></DIV>
<DIV><FONT size=3D2></FONT> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C1240C.CEF5FE80--