summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-10-11 03:43:46 (GMT)
committerhobbs <hobbs>2002-10-11 03:43:46 (GMT)
commit2807acbcf67e7b82e68ba48b187f2ddcdc0ec2fe (patch)
treec6f8175c327369a6b1063539abf2543a872dc82d /win/tcl.m4
parent8e51abb3229515ce700d3dcd6efb87d03e7c06b1 (diff)
downloadtcl-2807acbcf67e7b82e68ba48b187f2ddcdc0ec2fe.zip
tcl-2807acbcf67e7b82e68ba48b187f2ddcdc0ec2fe.tar.gz
tcl-2807acbcf67e7b82e68ba48b187f2ddcdc0ec2fe.tar.bz2
* win/configure:
* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by default in cygwin configure on Windows.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 0f79dae..ae909bb 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -253,6 +253,9 @@ AC_DEFUN(SC_ENABLE_THREADS, [
AC_MSG_RESULT(yes)
TCL_THREADS=1
AC_DEFINE(TCL_THREADS)
+ # USE_THREAD_ALLOC tells us to try the special thread-based
+ # allocator that significantly reduces lock contention
+ AC_DEFINE(USE_THREAD_ALLOC)
else
TCL_THREADS=0
AC_MSG_RESULT([no (default)])