Added the posix shared memory support for darwin x86
authorIsaac Dooley <idooley2@illinois.edu>
Tue, 22 Apr 2008 20:39:19 +0000 (20:39 +0000)
committerIsaac Dooley <idooley2@illinois.edu>
Tue, 22 Apr 2008 20:39:19 +0000 (20:39 +0000)
src/arch/net-darwin-x86/conv-mach-pxshm.h [new file with mode: 0644]
src/arch/net-darwin-x86/conv-mach-pxshm.sh [new file with mode: 0644]

diff --git a/src/arch/net-darwin-x86/conv-mach-pxshm.h b/src/arch/net-darwin-x86/conv-mach-pxshm.h
new file mode 100644 (file)
index 0000000..f534175
--- /dev/null
@@ -0,0 +1,14 @@
+#undef CMK_USE_PXSHM
+#define CMK_USE_PXSHM                  1
+
+#undef CMK_IMMEDIATE_MSG
+#define CMK_IMMEDIATE_MSG       0
+
+#undef CMK_BROADCAST_HYPERCUBE
+#define CMK_BROADCAST_HYPERCUBE                                   1
+
+#undef CMK_WHEN_PROCESSOR_IDLE_USLEEP
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP  0
+
+#undef CMK_NETPOLL
+#define CMK_NETPOLL   1
diff --git a/src/arch/net-darwin-x86/conv-mach-pxshm.sh b/src/arch/net-darwin-x86/conv-mach-pxshm.sh
new file mode 100644 (file)
index 0000000..40a223c
--- /dev/null
@@ -0,0 +1 @@
+CMK_LIBS="$CMK_LIBS "