| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* generic/tclThreadAlloc.c: the custom TclpAlloc()s is aligned to
16 byte boundaries (as is the case with the Darwin system malloc).
|
| |
|
|
|
|
|
|
| |
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/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.
|
|
|
|
| |
Tcl_Panic which is now required for non-threaded build.
|
|
|
|
|
|
|
| |
* generic/tclInt.h: fully cleanup on exit and allow for
* generic/tclThreadAlloc.c: reinitialization. [Bug #736426]
* unix/tclUnixThrd.c: (mistachkin, kenny)
* win/tclWinThrd.c:
|
| |
|
| |
|
|
|
|
| |
new allocator's overhead.
|
|
|
|
| |
between caches as a block, instead of one-by-one.
|
|
|
|
| |
against the case when NULL is based.
|
|
* 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).
|