a485f098e72be6e875c30641a22b38cdf7df87da
[charm.git] / src / arch / mpi-linux-x86_64 / conv-mach-smp.h
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7
8 #define CMK_SMP                                            1
9
10 #undef CMK_MALLOC_USE_GNU_MALLOC
11 #undef CMK_MALLOC_USE_OS_BUILTIN
12 #define CMK_MALLOC_USE_GNU_MALLOC                          1
13 #define CMK_MALLOC_USE_OS_BUILTIN                          0
14
15 #undef CMK_NODE_QUEUE_AVAILABLE
16 #define CMK_NODE_QUEUE_AVAILABLE                           1
17
18 #undef CMK_SHARED_VARS_UNAVAILABLE
19 #undef CMK_SHARED_VARS_POSIX_THREADS_SMP
20 #define CMK_SHARED_VARS_UNAVAILABLE                        0
21 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
22
23 #define CMK_LINUX_PTHREAD_HACK                             0
24
25 #undef CMK_SYNCHRONIZE_ON_TCP_CLOSE
26 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       1
27
28 /*#define  CMK_USE_MFENCE                                    1 */
29 #define  CMK_PCQUEUE_LOCK                                  1
30