|
MySQL 5.6.14 Source Code Document
|
#include <mt_thr_config.hpp>


Public Member Functions | |
| int | create_cpusets () |
| void | appendInfo (BaseString &, const unsigned short list[], unsigned cnt) const |
| int | do_bind (NdbThread *, const unsigned short list[], unsigned cnt) |
| int | do_bind_io (NdbThread *) |
Public Member Functions inherited from THRConfig | |
| int | setLockExecuteThreadToCPU (const char *val) |
| int | setLockIoThreadsToCPU (unsigned val) |
| int | do_parse (const char *ThreadConfig) |
| int | do_parse (unsigned MaxNoOfExecutionThreads, unsigned __ndbmt_lqh_workers, unsigned __ndbmt_classic) |
| const char * | getConfigString () |
| const char * | getErrorMessage () const |
| const char * | getInfoMessage () const |
| Uint32 | getThreadCount () const |
| Uint32 | getThreadCount (T_Type) const |
| Uint32 | getMtClassic () const |
Protected Member Functions | |
| const T_Thread * | find_thread (const unsigned short list[], unsigned cnt) const |
Protected Member Functions inherited from THRConfig | |
| void | add (T_Type) |
| Uint32 | find_type (char *&) |
| int | find_spec (char *&, T_Type) |
| int | find_next (char *&) |
| unsigned | createCpuSet (const SparseBitmask &) |
| int | do_bindings () |
| int | do_validate () |
| unsigned | count_unbound (const Vector< T_Thread > &vec) const |
| void | bind_unbound (Vector< T_Thread > &vec, unsigned cpu) |
Additional Inherited Members | |
Public Types inherited from THRConfig | |
| enum | T_Type { T_MAIN = 0, T_LDM = 1, T_RECV = 2, T_REP = 3, T_IO = 4, T_END = 5 } |
Protected Attributes inherited from THRConfig | |
| bool | m_classic |
| SparseBitmask | m_LockExecuteThreadToCPU |
| SparseBitmask | m_LockIoThreadsToCPU |
| Vector< SparseBitmask > | m_cpu_sets |
| Vector< T_Thread > | m_threads [T_END] |
| BaseString | m_err_msg |
| BaseString | m_info_msg |
| BaseString | m_cfg_string |
| BaseString | m_print_string |
This class is used by ndbmtd when setting up threads (and locking)
Definition at line 121 of file mt_thr_config.hpp.