summaryrefslogtreecommitdiffstats
path: root/generic/tclThread.c
Commit message (Collapse)AuthorAgeFilesLines
* Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵sebres2014-04-221-2/+6
| | | | | | | | to ticket [3493120] Moved over to branch bug-3493120. This is not ready for the core-8-5-branch. Segfaults all over the place in a thread-enabled build on a CentOS system.
* 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.
| * * generic/tclThread.c: Back-port locking changes from Tcl8.5vasiljevic2007-11-261-1/+11
| | | | | | | | | | in Tcl_Mutex/ConditionFinlize. Now we properly master-lock the finalization of sync primitives.
| * Prevent RemeberSyncObj() from growing the syncvasiljevic2007-06-301-3/+14
| | | | | | | | | | object lists by reusing already free'd slots, if possible. See discussion on Bug 1726873 for more information.
| * * generic/tclInt.h:davygrvy2004-05-061-4/+4
| | | | | | | | | | | | | | | | | | * 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.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Added TclpMasterLock/Unlock arround calls to ForgetSyncObject invasiljevic2007-10-251-1/+10
| | | | | | | | | | Tcl_MutexFinalize and Tcl_ConditionFinalize to prevent from garbling the internal list that track synchronization objects.
* | Prevent RemeberSyncObj() from growing the syncvasiljevic2007-06-301-4/+16
| | | | | | | | | | object lists by reusing already free'd slots, if possible. See discussion on Bug 1726873 for more information.
* | * generic/tclIO.c (DeleteChannelTable): Made changes so thatKevin B Kenny2007-05-011-16/+11
| | | | | | | | | | | | | | DeleteChannelTable tries to close all open channels, not just the first. [Bug 1710285] * generic/tclThread.c (TclFinalizeSynchronization): Make sure that TSD blocks get freed on non-threaded builds. [Bug 1710825]
* | Minor updates (whitespace police, etc.)dkf2006-11-071-7/+7
| |
* | ANSIfy (though only partially - function decls only - for tclExecute.c)dkf2005-11-021-70/+67
| |
* | radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-111-121/+13
| |
* | Systematizing the formattingdkf2005-07-211-53/+63
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | Whitespace fixes and add notes to #else/#endif so it is clearer what's happeningdkf2005-02-031-25/+26
| |
* | * generic/tclThread.c: Typo police. Fixed some nitsandreas_kupries2005-01-211-3/+3
| | | | | | | | | | | | * generic/tclCmdAH.c: in header comments of functions. * generic/tclBasic.c: (Missing --). * generic/tclFileName.c:
* | Version 5 of [Patch 976496]Joe Mistachkin2004-06-241-2/+39
| |
* | * generic/tclInt.h:davygrvy2004-04-231-4/+4
|/ | | | | | | | | * 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.
* * win/tclWinThrd.c (TclpMasterUnlock):hobbs2002-12-101-3/+1
| | | | | * generic/tclThread.c (TclFinalizeThreadData): TclpMasterUnlock must exist and be called unconditional of TCL_THREADS. [Bug #651139]
* Fixed compilation w/out TCL_THREADSwelch2000-04-051-1/+15
|
* 2000-04-03 Andreas Kupries <a.kupries@westend.com>kupries2000-04-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall change: Definition of public API's for the finalization of conditions and mutexes. [Bug: 4199]. * generic/tclInt.h: Removed definitions of TclFinalizeMutex and TclFinalizeCondition. * generic/tcl.decls: Added declarations of Tcl_MutexFinalize and Tcl_ConditionFinalize. * generic/tclThread.c: Renamed TclFinalizeMutex to Tcl_MutexFinalize. Renamed TclFinalizeCondition to Tcl_ConditionFinalize. * generic/tclNotify.c: Changed usage of TclFinalizeMutex to Tcl_MutexFinalize. * unix/tclUnixNotfy.c: * generic/tclThreadTest.c: Changed usages of TclFinalizeCondition to Tcl_ConditionFinalize. * generic/tcl.h: Added empty macros for Tcl_MutexFinalize and Tcl_ConditionFinalize, to be used when the core is compiled without threads. * doc/Thread.3: Added description the new API's.
* * generic/tclListObj.c:core_8_2_b3_baseredman1999-08-101-1/+3
| | | | | | | | | | | | | | | | * generic/tcl.decls: * generic/tclDecls.h: Applied patch from Jim Ingham to change the prototype of Tcl_ListObjGetElements to have the last argument have a CONST so that you can feed it the objv that you get from the standard TclObj command proc. * generic/tclAlloc.c: * generic/tclCmdIL.c: * generic/tclIO.c: * generic/tclThread.c: * win/tclWinThrd.c: * unix/tclUnixThrd.c: Fixed Brent's changes so that they work on Windows (and he fixed the bug in the Unix thread implementation).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+563