use memory fence if possible. Already tested on hope.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Mar 2009 16:37:03 +0000 (16:37 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Mar 2009 16:37:03 +0000 (16:37 +0000)
src/arch/multicore-darwin-x86/conv-mach.h

index 2b6faa381ba5c3381274afd85202da067120b4d7..88e217b2e555932d690794682334c1ca3fa85c6b 100644 (file)
@@ -78,9 +78,9 @@
 
 #define CMK_MACOSX_PTHREAD_HACK                            1
 
-/*#if !CMK_GCC_X86_ASM || !CMK_GCC_X86_ASM_ATOMICINCREMENT */
+#if !CMK_GCC_X86_ASM || !CMK_GCC_X86_ASM_ATOMICINCREMENT
 #define CMK_PCQUEUE_LOCK                                   1
-/*#endif */
+#endif
 
 #endif