Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-08-30
02:04 • Closed ticket [599428ffff]: (win) leak under USE_THREAD_ALLOC plus 7 other... artifact: cf22ad9fe0 user: andreas_kupries
2002-08-26
21:25 • Ticket [599428ffff]: 1 change artifact: 9b396a5d1c user: msofer
2002-08-24
04:32 • Add attachment tclWinThrd.patch to ticket [599428ffff] artifact: b03cf8a1e3 user: msofer
04:32 • Ticket [599428ffff] (win) leak under USE_THREAD_ALLOC status still Open wi... artifact: 87b74e7a3f user: msofer
2002-08-23
21:32 • New ticket [599428ffff]. artifact: e0fca966c1 user: msofer

(win) leak under USE_THREAD_ALLOC

Closed / Fixed599428ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-08-23 21:32:18
As a follow-up to
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=dfee45af9d044335&rnum=2
Sven Sass mentioned privately that the use of 'once' is
preventing all threads but one to free some of its data
on exit.

My impression from looking at TclpFinalizeThreadData()
in win/tclWinThrd.c is that this is probably correct. I
attach a patch for review that may solve the issue.

Sidenote: if win does not have a way to define an exit
handler for each key, maybe the Tcl library should
emulate the pthread way?
msoferplain2002-08-24 04:32:19
File Added - 29678: tclWinThrd.patch
msofer Ticket [599428ffff]: 1 change [History diff]2002-08-26 21:25:10
andreas_kupriesplain2002-08-30 02:04:13
Logged In: YES 
user_id=75003

Patch applied to head.
Log in (anonymous is fine) to add a comment.

Attachments: