From: <no...@so...> - 2002-08-29 19:04:21
|
Bugs item #599428, was opened at 2002-08-23 14:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=599428&group_id=10894 Category: 45. Threading Group: None >Status: Closed >Resolution: Fixed Priority: 9 Submitted By: miguel sofer (msofer) Assigned to: Andreas Kupries (andreas_kupries) Summary: (win) leak under USE_THREAD_ALLOC Initial Comment: 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? ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2002-08-29 12:04 Message: Logged In: YES user_id=75003 Patch applied to head. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=599428&group_id=10894 |