503baba2ab9f3158c95f8929359c7c2fcd462df6
[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_NODE_QUEUE_AVAILABLE
11 #define CMK_NODE_QUEUE_AVAILABLE                           1
12
13 #undef CMK_SHARED_VARS_UNAVAILABLE
14 #undef CMK_SHARED_VARS_POSIX_THREADS_SMP
15 #define CMK_SHARED_VARS_UNAVAILABLE                        0
16 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
17
18 #undef CMK_TIMER_USE_GETRUSAGE
19 #undef CMK_TIMER_USE_SPECIAL
20 #define CMK_TIMER_USE_GETRUSAGE                            1
21 #define CMK_TIMER_USE_SPECIAL                              0
22
23 #undef CMK_MALLOC_USE_GNU_MALLOC
24 #undef CMK_MALLOC_USE_OS_BUILTIN
25 #define CMK_MALLOC_USE_GNU_MALLOC                          1
26 #define CMK_MALLOC_USE_OS_BUILTIN                          0
27
28 /*#define  CMK_USE_MFENCE                                    1 */
29 /*#define  CMK_PCQUEUE_LOCK                                  1 */
30 /*Replaced by CMK_NOT_USE_TLS_THREAD as the default case*/
31 /*#define CMK_USE_TLS_THREAD                                 1*/
32