a working smp config
authorGengbin Zheng <gzheng@illinois.edu>
Sat, 7 Mar 2009 15:00:22 +0000 (15:00 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sat, 7 Mar 2009 15:00:22 +0000 (15:00 +0000)
src/arch/net-darwin-x86_64/conv-mach-smp.h
src/arch/net-darwin-x86_64/conv-mach-smp.sh

index aba191a58743cc19d9e3495994a374947af00151..cc985c80b18d0fe27c9eb74a9d46d10822e2f265 100644 (file)
@@ -9,4 +9,14 @@
 #define CMK_SHARED_VARS_UNAVAILABLE                        0
 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
 
-#define CMK_MACOSX_PTHREAD_HACK                             1
+#undef CMK_THREADS_USE_JCONTEXT
+#define CMK_THREADS_USE_JCONTEXT                           1
+
+#undef CMK_USE_POLL
+#define CMK_USE_POLL                                       1
+#undef CMK_USE_KQUEUE
+#define CMK_USE_KQUEUE                                     0
+
+/*#if !CMK_GCC_X86_ASM || !CMK_GCC_X86_ASM_ATOMICINCREMENT */
+/* #define CMK_PCQUEUE_LOCK                                    1 */
+/*#endif */
index cca7fa4796ade7f88027f5ef0b5e1e40b1d4a542..1c3366523acccb58ad7d0eae7e57880b624a48ec 100644 (file)
@@ -8,4 +8,4 @@ CMK_CXXPP="$CMK_CXXPP $CMK_DEFS "
 CMK_LD="$CMK_LD $CMK_DEFS "
 CMK_LDXX="$CMK_LDXX $CMK_DEFS "
 CMK_LIBS="-lpthread $CMK_LIBS "
-CMK_QT='generic'
+CMK_QT='generic64'