summaryrefslogtreecommitdiffstats
path: root/generic/tclThread.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-12-17 20:47:58 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-12-17 20:47:58 (GMT)
commit4358251cbcb72d4aeb29bcbd7f36a4ac99e8e8c0 (patch)
tree193346a123c6ef4b3e39952977b53c54d10913cb /generic/tclThread.c
parenta81c98188f95b97892bbf47a4bc2eaa58869b15c (diff)
downloadtcl-4358251cbcb72d4aeb29bcbd7f36a4ac99e8e8c0.zip
tcl-4358251cbcb72d4aeb29bcbd7f36a4ac99e8e8c0.tar.gz
tcl-4358251cbcb72d4aeb29bcbd7f36a4ac99e8e8c0.tar.bz2
Rework the *FinalizeThread*() routines so that the quick exit preference
is respected without need to run afoul of encoding finalizations. tests pass now. All changes are fully internal.
Diffstat (limited to 'generic/tclThread.c')
-rw-r--r--generic/tclThread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclThread.c b/generic/tclThread.c
index 5ac6a8d..198fa6a 100644
--- a/generic/tclThread.c
+++ b/generic/tclThread.c
@@ -353,11 +353,11 @@ Tcl_ConditionFinalize(
*/
void
-TclFinalizeThreadData(void)
+TclFinalizeThreadData(int quick)
{
TclFinalizeThreadDataThread();
#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
- if ((!TclInExit())||TclFullFinalizationRequested()) {
+ if (!quick) {
/*
* Quick exit principle makes it useless to terminate allocators
*/