SIMPLE_THREADS does not require malloc mutex protection

This commit is contained in:
David Rose 2007-06-21 16:34:12 +00:00
parent 4d9a1500dd
commit ab22feb406
2 changed files with 2 additions and 2 deletions

View File

@ -499,7 +499,7 @@ $[cdefine GLOBAL_OPERATOR_NEW_EXCEPTIONS]
#define USE_MEMORY_MALLOC
#define USE_MEMORY_NOWRAPPERS
#if $[ALTERNATIVE_MALLOC]
#if $[HAVE_THREADS]
#if $[and $[HAVE_THREADS], $[not $[SIMPLE_THREADS]]]
// A fast thread-safe alternative implementation.
#set USE_MEMORY_PTMALLOC2 1
#else

View File

@ -35,7 +35,7 @@ bool __tau_shutdown = false;
#if defined(USE_MEMORY_DLMALLOC)
#ifdef HAVE_THREADS
#if defined(HAVE_THREADS) && !defined(SIMPLE_THREADS)
#error Cannot use dlmalloc library with threading enabled!
#endif