OmniThread Question on NT 4.0
Elan Freedy
elanf@netvision.net.il
Mon, 9 Mar 1998 11:20:19 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_000F_01BD4B4D.5800BBD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Greetings all,
I'm presently developing an application on NT, using omniORB, and am
therefore using omni threads for all my threading needs. The application
creates a lot of short lived detached worker threads which perform a =
small
task then disappear. When I monitor the application in the NT task =
manager
the number of threads, fluxuate within a reasonable boundary however the
number of "handles" seems to just increase. I've checked with the =
debugger
to verify that the omni thread destructor is being called properly which
calls CloseHandle()...however the number of handles seems to grow with =
no
bounds. Any ideas how I can fix this? or is this something that can be
ignored?
Thanks.
Elan Freedy=20
------=_NextPart_000_000F_01BD4B4D.5800BBD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2><FONT color=3D#000000 size=3D2>
<DIV><FONT color=3D#000000>Greetings all,</FONT></DIV>
<DIV><FONT color=3D#000000></FONT> </DIV>
<DIV><FONT color=3D#000000>I'm presently developing an application on =
NT, using=20
omniORB, and am</FONT></DIV>
<DIV><FONT color=3D#000000>therefore using omni threads for all my =
threading=20
needs. The application</FONT></DIV>
<DIV><FONT color=3D#000000>creates a lot of short lived detached worker =
threads=20
which perform a small</FONT></DIV>
<DIV><FONT color=3D#000000>task then disappear. When I monitor the =
application in=20
the NT task manager</FONT></DIV>
<DIV><FONT color=3D#000000>the number of threads, fluxuate within a =
reasonable=20
boundary however the</FONT></DIV>
<DIV><FONT color=3D#000000>number of "handles" seems to just =
increase.=20
I've checked with the debugger</FONT></DIV>
<DIV><FONT color=3D#000000>to verify that the omni thread destructor is =
being=20
called properly which</FONT></DIV>
<DIV><FONT color=3D#000000>calls CloseHandle()...however the number of =
handles=20
seems to grow with no</FONT></DIV>
<DIV><FONT color=3D#000000>bounds. Any ideas how I can fix this? or is =
this=20
something that can be</FONT></DIV>
<DIV><FONT color=3D#000000>ignored?</FONT></DIV>
<DIV><FONT color=3D#000000></FONT> </DIV>
<DIV><FONT color=3D#000000>Thanks.</FONT></DIV>
<DIV><FONT color=3D#000000>Elan Freedy </FONT></DIV></FONT>
<DIV> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_000F_01BD4B4D.5800BBD0--