summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* fix typosdas2009-10-051-3/+3
|
* * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-281-3/+27
| | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclParse.c: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* * generic/tclAlloc.c: on Darwin, ensure memory allocated bydas2007-06-291-37/+44
| | | | | * generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to 16 byte boundaries (as is the case with the Darwin system malloc).
* Use %ld instead of %d in Tcl_GetMemoryInfodkf2005-12-201-9/+9
|
* Modified TclFinalizeThreadAlloc() to explicitly callvasiljevic2005-04-071-1/+3
| | | | | | TclpFreeAllocCache with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator. Part of fixing the Tcl Bug #1178445.
* * generic/tclAlloc.c: Fixed [Tcl SF Bug 1030548], aandreas_kupries2004-10-281-2/+2
| | | | | | | * generic/tclThreadAlloc.c: threaded debug build on Windows * win/tclWinThrd.c: now works again. Had to touch Unix * unix/tclUnixThrd.c: as well. Basic patch by Kevin, with modifications by myself.
* * generic/tclThreadAlloc.c: Moved the tclInt.h include to providepatthoyts2004-07-251-4/+4
| | | | Tcl_Panic which is now required for non-threaded build.
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-1/+59
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-1/+2
|
* fix for [Bug 731754]Joe Mistachkin2003-05-101-5/+1
|
* * generic/tclThreadAlloc.c: small optimisation, reducing theMiguel Sofer2002-08-261-6/+27
| | | | new allocator's overhead.
* * generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objectsMiguel Sofer2002-08-231-8/+22
| | | | between caches as a block, instead of one-by-one.
* * generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protecthobbs2002-05-291-26/+32
| | | | against the case when NULL is based.
* * generic/tclAlloc.c:hobbs2002-04-231-0/+914
* generic/tclInt.h: * generic/tclThreadAlloc.c (new): * unix/Makefile.in: * unix/tclUnixThrd.c: * win/Makefile.in: * win/tclWinInt.h: * win/tclWinThrd.c: added new threaded allocator contributed by AOL that significantly reduces lock contention when multiple threads are in use. Only Windows and Unix implementations are ready, and the Windows one may need work. It is only used by default on Unix for now, and requires that USE_THREAD_ALLOC be defined (--enable-threads on Unix will define this).