summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-02 12:09:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-02 12:09:04 (GMT)
commit76bb4d1ea44256ae13b0b5aeca25cbdec253e24b (patch)
tree2364905b6094f45c5bb8d8539a308a3a3e798ef6 /win
parent4db368d5955df1769fcca3549f4b94311a27e2f4 (diff)
parentcd428c1a448edb198b98051f394562bf8f2dc9b5 (diff)
downloadtcl-76bb4d1ea44256ae13b0b5aeca25cbdec253e24b.zip
tcl-76bb4d1ea44256ae13b0b5aeca25cbdec253e24b.tar.gz
tcl-76bb4d1ea44256ae13b0b5aeca25cbdec253e24b.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'win')
-rw-r--r--win/tclWinThrd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index ca26f08..8f3ddb9 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -1012,8 +1012,10 @@ TclpFreeAllocCache(
if (ptr != NULL) {
/*
- * Called by us in TclpFinalizeThreadData when a thread exits and
- * destroys the tsd key which stores allocator caches.
+ * Called by TclFinalizeThreadAlloc() and
+ * TclFinalizeThreadAllocThread() during Tcl_Finalize() or
+ * Tcl_FinalizeThread(). This function destroys the tsd key which
+ * stores allocator caches in thread local storage.
*/
TclFreeAllocCache(ptr);