diff options
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r-- | generic/tclAlloc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c index 099da71..fe64c97 100644 --- a/generic/tclAlloc.c +++ b/generic/tclAlloc.c @@ -15,9 +15,16 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAlloc.c,v 1.15 2002/02/27 07:08:28 hobbs Exp $ + * RCS: @(#) $Id: tclAlloc.c,v 1.16 2002/04/23 17:03:34 hobbs Exp $ */ +/* + * Windows and Unix use an alternative allocator when building with threads + * that has significantly reduced lock contention. + */ + +#if !defined(TCL_THREADS) || !defined(USE_THREAD_ALLOC) + #include "tclInt.h" #include "tclPort.h" @@ -721,3 +728,4 @@ TclpRealloc(cp, nbytes) } #endif /* !USE_TCLALLOC */ +#endif /* !TCL_THREADS */ |