Make Boost uFcontext threads the default on all ppc64le builds
[charm.git] / src / arch / multicore-linux-ppc / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_SMP                                            1
5 #define CMK_MULTICORE                                      1
6
7 #undef CMK_IMMEDIATE_MSG
8 #define CMK_IMMEDIATE_MSG                                  0
9
10 #define CMK_ASYNC_NOT_NEEDED                               1
11 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
12 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
13 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
14 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
15
16 #define CMK_GETPAGESIZE_AVAILABLE                          0
17
18 #define CMK_MALLOC_USE_GNU_MALLOC                          0
19 #define CMK_MALLOC_USE_OS_BUILTIN                          1
20
21 #define CMK_MEMORY_PAGESIZE                                4096
22 #define CMK_MEMORY_PROTECTABLE                             0
23
24
25 #define CMK_SSH_IS_A_COMMAND                               1
26 #define CMK_SSH_NOT_NEEDED                                 0
27
28 #define CMK_SHARED_VARS_UNAVAILABLE                        0
29 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
30 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
31
32 #define CMK_THREADS_USE_CONTEXT                            0
33 #define CMK_THREADS_USE_FCONTEXT                           1
34 #define CMK_THREADS_USE_PTHREADS                           0
35 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
36
37 #define CMK_SIGNAL_NOT_NEEDED                              1
38 #define CMK_SIGNAL_USE_SIGACTION                           0
39 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
40
41 #define CMK_THREADS_REQUIRE_NO_CPV                         0
42 #define CMK_THREADS_COPY_STACK                             0
43
44 #define CMK_TIMER_USE_RDTSC                                0
45 #define CMK_TIMER_USE_GETRUSAGE                            1
46 #define CMK_TIMER_USE_SPECIAL                              0
47 #define CMK_TIMER_USE_TIMES                                0
48
49 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
50 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
51
52
53 #define CMK_DEBUG_MODE                                     0 
54 #define CMK_WEB_MODE                                       1
55
56 #define CMK_LBDB_ON                                        1
57
58 #define CMK_STACKSIZE_DEFAULT                              65536
59
60 #define __ONESIDED_IMPL 1
61 #define __ONESIDED_NO_HARDWARE  1
62
63 /*#define CMK_MMAP_PROBE                                      1 */
64
65 /*#define CMK_PCQUEUE_LOCK                                   1  */
66 #define CMK_NOT_USE_TLS_THREAD                                1 
67
68 #endif
69
70