summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge tip of core-8-6-branchbug_16828b3744dgp2016-06-161-27/+32
|\
| * Decorate Tcl_Exit() and Tcl_SetExitProc()'s argument with TCL_NORETURN as ↵jan.nijtmans2015-10-081-4/+4
| | | | | | | | | | appropriate, as already done with Tcl_Panic() earlier. Fix minor msvc compiler warning in tclWinFile.c
| * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-7/+7
| |\
| | * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-1/+1
| | |
| * | Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
| |\ \ | | |/
| | * Correct handling of dictionaries in the background error processing code.dkf2015-06-301-10/+10
| | |
| * | Rework the *FinalizeThread*() routines so that the quick exit preferencebug_af08e89777dgp2014-12-171-3/+11
| | | | | | | | | | | | is respected without need to run afoul of encoding finalizations. tests pass now. All changes are fully internal.
| * | Refine TclFinalizeThreadData so that the quick-exit optimization really only ↵ferrieux2014-09-081-13/+10
| | | | | | | | | | | | affects exit.
| * | Refrain from calling TclFinalizeThreadData() in quick-exit case as it is ↵ferrieux2014-09-021-11/+13
| | | | | | | | | | | | useless (just memory freeing). Superficially fixes [Bug 132fad6f]; that bug is still exerciseable thanks to recent additions to the test suite that exercise full finalization.
| * | Make sure that panic's during finalization are handled by the custom ↵jan.nijtmans2013-09-201-2/+0
| | | | | | | | | | | | | | | panicproc not by the default panicproc, because stderr might not be available. When the default panicproc is in use, this doesn't make any difference.
* | | Correct the patch.dgp2016-06-161-4/+1
| | |
* | | Merge up to a197e6853e. Still works. Next checkin restarts the segfaults.dgp2016-06-161-9/+4
|\ \ \ | |/ /
| * | Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-181-7/+2
| |\ \ | | |/
| | * Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-181-9/+4
| | |
| * | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵jan.nijtmans2013-02-271-2/+2
| | | | | | | | | | | | Tcl_VarTraceInfo2 conversions.
* | | Merge up to the 8.6.0 release.dgp2016-06-161-49/+59
|\ \ \ | |/ /
| * | Bug 3576509: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵jan.nijtmans2012-10-141-1/+1
| |\ \ | | |/ | | | | | | source code.
| | * Bug 357650: Better fix, which helps for all Tcl_DictObjGet() calls in Tcl's ↵jan.nijtmans2012-10-141-1/+1
| | | | | | | | | | | | source code.
| * | Bug 3576509: tcl::Bgerror crashes with invalid argumentsjan.nijtmans2012-10-131-1/+1
| |\ \ | | |/
| | * Bug 3576509: tcl::Bgerror crashes with invalid argumentsjan.nijtmans2012-10-131-1/+1
| | |
| * | more result generation conversiondkf2012-08-031-4/+5
| | |
| * | [Bug 2919042] Restore "valgrindability" of Tcl that was lost by the ↵ferrieux2011-08-091-19/+30
| | | | | | | | | | | | streamlining of [exit], by conditionally forcing a full Finalize: use -DPURIFY or ::env(TCL_FINALIZE_ON_EXIT)
| * | More generation of errorCode information (default [bgerror] and [glob]).dkf2011-04-021-0/+2
| | |
| * | Correct bizarre name of enumeration member.dkf2011-03-241-2/+2
| | |
| * | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-21/+20
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
| * | MINOR: Formatting fixes, mainly to comments, so code better fits the style indkf2011-03-101-1/+0
| | | | | | | | | the Engineering Manual.
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| |\ \ | | |/ | | | cause more harm than good. Purged them (except in zlib files).
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | |\ | | | | | | | | more harm than good. Purged them.
| | | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | | | | more harm than good. Purged them.
| | | * Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ferrieux2009-04-271-7/+106
| | | | | | | | | | | | | | | | "late exit handlers" for similar late process-wide cleanups.
| | | * * generic/tclEvent.c (Tcl_CreateThread): Replaced some calls todgp2007-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
| | | * Cosmetic touches and identationvasiljevic2006-03-101-7/+7
| | | |
| | | * backport of 2005-08-10 fix to tclEvent.cKevin B Kenny2005-08-161-19/+19
| | | |
| | | * * generic/tclCompExpr.c: Untangled some dependencies in thedgp2005-08-031-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c:
| | | * finalize Tcl_Preserve after exit handlersKevin B Kenny2005-06-241-1/+4
| | | |
| | | * bug 1225727Kevin B Kenny2005-06-221-1/+16
| | | |
| | | * * generic/tclEvent.c (Tcl_Finalize): Re-organized Tcl_Finalizedgp2004-07-301-24/+24
| | | | | | | | | | | | | | | | | | | | so that Tcl_ExitProc's that call Tcl_Finalize recursively do not cause deadlock. [Patch 999084 fixes Tk Bug 714956]
| | | * * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
| | | * Remoevd initialization of TSD for the new thread in NewThreadProc()vasiljevic2004-07-151-10/+1
| | | | | | | | | | | | | | | | since this will result in TclInitNotifier never being called.
| | | * Backout of changes to fix the Tcl Bug #770053.vasiljevic2004-07-151-2/+7
| | | | | | | | | | | | | | | | See SF bugreport for more info.
| | | * Fixed broken build on Windows caused by missing TCL_THREAD_CREATE_RETURNvasiljevic2004-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | in NewThreadProc(). This is backported from head. Thnx to Kevin Kenny for spotting this.
| | | * Corrected Tcl Bug #770053vasiljevic2004-06-221-3/+93
| | | |
| | | * (TclSetLibraryPath): Suppress a warning [from DKF]davygrvy2004-05-061-3/+3
| | | |
| | | * * generic/tclEvent.c: TclSetLibraryPath's use of caching thedavygrvy2004-05-061-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stringrep of the pathPtr object to TclGetLibraryPath called from another thread was ineffective if the original's stringrep had been invalidated as what happens when it gets muted to a list. * generic/tclInt.h: * generic/tclThread.c: * generic/tclEvent.c: * unix/tclUnixThrd.c: * win/tclWinThrd.c: Provisions made so masterLock, initLock, allocLock and joinLock mutexes can be recovered during Tcl_Finalize.
| | | * Removed unused variable to reduce compiler warnings. [Bug 664745]dkf2003-05-131-3/+7
| | | |
| | * | * generic/tclCmdAH.c: Fix cases where value returned bydgp2010-09-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy.
| | * | * generic/tclObj.c: [Bug 2871908]: Plug memory leaks of theandreas_kupries2009-10-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | objThreadMap and lineCLPtr hashtables. Also make the names of the continuation line information initialization and finalization functions more consistent. Patch supplied by Joe Mistachkin <joe@mistachkin.com>.
| | * | Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ferrieux2009-04-271-2/+102
| | | | | | | | | | | | | | | | "late exit handlers" for similar late process-wide cleanups.
* | | | [16828b3744] Prototype fix for merging forward.dgp2016-06-161-0/+5
|/ / /
* | | * generic/tclCmdAH.c: Fix cases where value returned bydgp2010-09-231-1/+2
| | | | | | | | | | | | | | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy.