Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_Finalize doesn't clean-up running threads

Closed219320ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 24 years ago
Descriptionplain2000-10-26 05:10:42
OriginalBugID: 3904 Bug
Version: 8.3b1
SubmitDate: '1999-12-20'
LastModified: '2000-04-25'
Severity: SER
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 3877
OS: Windows 2000
OSVersion: build 2128
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
David Gravereaux

CVS:
I updated today

CustomShell:
tclAsync.c fixes in progress

ReproducibleScript:
D:\Projects\TclCVS\MainTclTrunk\win\Debug\>tcltest.exe
% testthread create {
  load "d:/projects/ghe_cvs/ghe/ghe_dirwatch/debug/ghe_dirwatch.dll"
  GHE::startwatch c:/temp {gotcha [testthread id]}
  proc gotcha {id} {
    puts "c:/temp has been written to and yielded notifier thread $id"
  }
  testthread wait
}
1344
% exit

ObservedBehavior:
The exit handler I made in the extension's Init with 
Tcl_CreateThreadExitHandler wasn't called.
davygrvyplain2001-04-26 04:44:21
Logged In: YES 
user_id=7549

please change catagory to the thread package.

https://sourceforge.net/tracker/index.php?
func=detail&aid=418689&group_id=10894&atid=110894

might relate to this.
dgp Ticket [219320ffff]: 1 change [History diff]2001-04-26 05:22:46
davygrvy Ticket [219320ffff]: 1 change [History diff]2002-05-28 08:17:27
davygrvy Ticket [219320ffff]: 1 change [History diff]2002-05-28 08:18:02
davygrvyplain2002-05-28 08:18:45
Logged In: YES 
user_id=7549

I'm not sure if this is still current.
vasiljevicplain2002-07-20 18:15:26
Logged In: YES 
user_id=95086

Tcl_Finalize works fine starting from 8.3.2 core.
Zoran
vasiljevic Ticket [219320ffff]: 2 changes [History diff]2002-07-20 18:15:27
Log in (anonymous is fine) to add a comment.