Skip to content
Tcl Source Code Artifact [c04206b137]
Login

Artifact [c04206b137]

Artifact c04206b13771d787ff01bba7e6dd26efe9ca33a4:

Ticket change [c04206b137] - New ticket [442646ffffffffff|442646ffff] <i>Close Windows handle from _beginthreadex</i>. by mdejong on 2001-07-19 02:14:06.
D 2001-07-19T02:14:06
J assignee andreas_kupries
J cmimetype text/plain
J comment The\sdocumentation\sfor\sthe\s_beginthreadex\smethod\nindicates\sthat\sthe\scaller\sis\sresponsible\sfor\nclosing\sthe\sreturned\sHANDLE\sobject.\sTcl\sdoes\nnot\sclose\sthis\shandle\swhich\sseems\slike\sa\smemory\nleak\sto\sme.\sThe\sfollowing\spatch\sshould\sfix\sthe\nproblem,\sbut\sif\ssomeone\sthat\sknows\sa\sbit\smore\nabout\sWindows\sthreads\scould\stake\sa\speek\sI\swould\nfeel\smuch\sbetter\sabout\sit.\sThe\spart\sI\sam\sunsure\nof\sis\sif\sit\sis\sok\sto\scall\sCloseHandle()\son\na\sthread\shandle\sthat\sis\scurrently\salive.\n\n\nHere\sare\ssome\srelated\sURLs:\n\nhttp://support.microsoft.com/support/kb/articles/q132/0/78.asp\nhttp://technology.niagarac.on.ca/courses/comp831/win32/_beginthread.htm\nhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt__beginthread.2c_._beginthreadex.asp\nhttp://www.microsoft.com/msj/0799/win32/win320799.htm\n\n\n2001-07-18\s\sMo\sDeJong\s\s<[email protected]>\n\n*\swin/tclWinThrd.c\s(Tcl_CreateThread):\sClose\sWindows\nHANDLE\nreturned\sby\s_beginthreadex\ssince\sthe\sMS\sdocumentation\nstates\nthat\sthis\shandle\sis\snot\sclosed\sby\sa\slater\scall\sto\n_endthreadex.\n\n\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter mdejong
J subsystem 49.\sThreading
J title Close\sWindows\shandle\sfrom\s_beginthreadex
J type Patch
K 442646ffffffffffffffffffffffffffffffffff
U mdejong
Z 5b27d062794adb584670d036c2100734