Using mutexes around accesses to refcounts seems to make the Windows build much less...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 24 Feb 2008 21:02:47 +0000 (21:02 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 24 Feb 2008 21:02:47 +0000 (21:02 +0000)
git-svn-id: http://svn.voria.com/code@1815 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/handle

index 010f5c2..d957f76 100644 (file)
 #include "etl_config.h"
 
 // include the next line in an attempt to increase stability
+// it seems to make things much *less* stable on MS Windows
+#ifndef _WIN32
 #define ETL_LOCK_REFCOUNTS
+#endif
 
 #ifdef ETL_LOCK_REFCOUNTS
 #  include "mutex"