23 #include <SparseBitmask.hpp>
24 #include <BaseString.hpp>
54 int setLockExecuteThreadToCPU(
const char * val);
55 int setLockIoThreadsToCPU(
unsigned val);
58 int do_parse(
unsigned MaxNoOfExecutionThreads,
59 unsigned __ndbmt_lqh_workers,
60 unsigned __ndbmt_classic);
62 const char * getConfigString();
64 const char * getErrorMessage()
const;
65 const char * getInfoMessage()
const;
67 Uint32 getThreadCount()
const;
68 Uint32 getThreadCount(T_Type)
const;
69 Uint32 getMtClassic()
const {
return m_classic; }
75 enum BType { B_UNBOUND, B_CPU_BOUND, B_CPUSET_BOUND } m_bind_type;
90 Uint32 find_type(
char *&);
92 int find_next(
char *&);
113 enum { S_UNSIGNED, S_BITMASK } type;
124 int create_cpusets();
126 void appendInfo(
BaseString&,
const unsigned short list[],
unsigned cnt)
const;
127 int do_bind(
NdbThread*,
const unsigned short list[],
unsigned cnt);
131 const T_Thread* find_thread(
const unsigned short list[],
unsigned cnt)
const;
134 #endif // IPCConfig_H