diff options
| author | dgp <dgp@users.sourceforge.net> | 2014-12-17 20:47:58 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2014-12-17 20:47:58 (GMT) |
| commit | 955507f6352c466740d348d8d89adb8de24de9fd (patch) | |
| tree | 193346a123c6ef4b3e39952977b53c54d10913cb /generic/tclThread.c | |
| parent | e942227f6e2651032ec7a070d1562c4b050de9b3 (diff) | |
| download | tcl-955507f6352c466740d348d8d89adb8de24de9fd.zip tcl-955507f6352c466740d348d8d89adb8de24de9fd.tar.gz tcl-955507f6352c466740d348d8d89adb8de24de9fd.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.c | 4 |
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 */ |
