summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* Modified TclFinalizeThreadAlloc() to explicitly call TclpFreeAllocCachevasiljevic2005-04-161-1/+3
| | | | | with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-2/+60
| | | | | | | * generic/tclInt.h: fully cleanup on exit and allow for * generic/tclThreadAlloc.c: reinitialization. [Bug #736426] * unix/tclUnixThrd.c: (mistachkin, kenny) * win/tclWinThrd.c:
* Make [Bug 975895] less likely to be hitdkf2004-06-211-257/+274
|
* * generic/tclAlloc.c: Make sure Tclp*Alloc* routines getdgp2004-05-041-3/+2
| | | | | * generic/tclInt.h: declared in the TCL_MEM_DEBUG and * generic/tclThreadAlloc.c: TCL_THREADS configuration. [Bug 947564]
* * generic/tclInt.h: Replaced Kevin Kenny's temporarydgp2004-04-301-9/+1
| | | | | * generic/tclThreadAlloc.c: fix for Bug 945447 with a cleaner, more permanent replacement.
* * generic/tclThreadAlloc.c: Added a temporary (or so I hope!) Kevin B Kenny2004-04-301-2/+4
| | | | | inclusion of "tclWinInt.h" to avoid problems when compiling on Win32-VC++ with --enable-threads. [Bug 945447]
* Patch 922727 committed. Implements three changes:dgp2004-04-061-4/+2
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* All uses of 'panic' (the macro) changeddavygrvy2003-12-241-4/+4
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* Made a variable file-local for safetydkf2003-12-161-2/+2
|
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-951/+952
|
* fix for [Bug 731754]Joe Mistachkin2003-05-091-955/+951
|
* * 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).