summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Use %ld instead of %d in Tcl_GetMemoryInfodkf2005-12-201-9/+9
| | | FossilOrigin-Name: b40514b67e1f2ec36c2b21fa98a94d056375b167
* 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. FossilOrigin-Name: 67acf0391662880d19ba6cb82bc82b3bae5cdec9
* * 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. FossilOrigin-Name: 6d824cc2bb98c687e15eef8e0ad84083de754ecf
* * generic/tclThreadAlloc.c: Moved the tclInt.h include to providepatthoyts2004-07-251-4/+4
| | | | | | Tcl_Panic which is now required for non-threaded build. FossilOrigin-Name: 68225ba78960423a23be428e5cd17a213f456c3d
* * 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: FossilOrigin-Name: 12bdd26d68349a144e518c4ffc10d6d5a59fb459
* fix bad cvs lf conversionmistachkin2003-05-101-1/+2
| | | FossilOrigin-Name: 39dc7f33bd5553ad15e713b1b0bea21e21126afa
* fix for [Bug 731754]mistachkin2003-05-101-5/+1
| | | FossilOrigin-Name: dd0b47aef7dc6586bf3c66b15cc9fd7420fe97fd
* * generic/tclThreadAlloc.c: small optimisation, reducing themsofer2002-08-261-6/+27
| | | | | | new allocator's overhead. FossilOrigin-Name: facfeb86d7470f12a440c4cc2b96fc71cdb09f5d
* * generic/tclThreadAlloc.c (USE_THREAD_ALLOC): moving objectsmsofer2002-08-231-8/+22
| | | | | | between caches as a block, instead of one-by-one. FossilOrigin-Name: 919a9e1ad05e57dc590c3deaf050f9d5ee1599d8
* * generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protecthobbs2002-05-291-26/+32
| | | | | | against the case when NULL is based. FossilOrigin-Name: 40c3da52d36934ec8acc909a90b682dc7e8ffa9a
* * 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). FossilOrigin-Name: 28a1df4ae96a0577db4a8cfd061ba44c460b3bfa