I use tcl 8.3.4 on Win XP, and build with Visual C++ 6.0.
In need to use Tcl with thread implementation, and I
add TCL_THREADS compile option in settings of Tcl
project and calling project. Then I saw a lot of memory
leaks that appeared after call of Tcl_Finalize, at the
end of application in debug. I don't use it in a
console, so I use Tcl_Init, and Tcl_Finalize.
I needed to correct a bug in Tcl_FinalizeNotifier so
that it doesn't crash because pointer was NULL (Bug
I added TclThread_Init just after Tcl_Init but don't
know if it's necessary.
I tried also with tcl 8.4.13 and this doesn't change
anything for memory leaks.
I tried to track leaks with TCL_MEM_DEBUG and call of
Tcl_DumpActiveMemory without success.
Is there anything special to do to be in multi
threading after setting TCL_THREADS?
Thank you for answering me because I begin to feel lost!