summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-05-15 00:04:08 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-05-15 00:04:08 (GMT)
commit5e16c3823829638c614e311586d3e0c9ca0fa32a (patch)
treeb7e6b55d39a206577920ae8c031563a5ddc4e866 /win/makefile.vc
parent8c6b0215a7ccebe49708b68c096c93ae84113fb6 (diff)
downloadtcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.zip
tcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.tar.gz
tcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.tar.bz2
We should use the thread allocator for threaded builds. Added 'tclalloc' option to disable.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc9
1 files changed, 6 insertions, 3 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index af07425..ef914ac 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -10,9 +10,10 @@
# Copyright (c) 1998-2000 Ajuba Solutions.
# Copyright (c) 2001-2005 ActiveState Corporation.
# Copyright (c) 2001-2004 David Gravereaux.
+# Copyright (c) 2003-2008 Pat Thoyts.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.178 2008/04/27 10:59:26 patthoyts Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.179 2008/05/15 00:04:10 patthoyts Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -90,7 +91,9 @@ the build instructions.
# tclshXX.exe to have the dde and reg extension linked
# inside it.
# threads = Turns on full multithreading support.
-# thrdalloc = Use the thread allocator (shared global free pool).
+# thrdalloc = Use the thread allocator (shared global free pool)
+# This is the default on threaded builds.
+# tclalloc = Use the old non-thread allocator
# thrdstorage = Use the generic thread storage support.
# symbols = Adds symbols for step debugging.
# profile = Adds profiling hooks. Map file is assumed.
@@ -413,7 +416,7 @@ WINDIR = $(ROOT)\win
### This cranks the optimization level to maximize speed
cdebug = -O2 $(OPTIMIZATIONS)
!else
-cdebug =
+cdebug =
!endif
!else if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
### Warnings are too many, can't support warnings into errors.