File thread_manager.hpp¶
FileList > cubrid > src > thread > thread_manager.hpp
Go to the source code of this file
#include "thread_entry.hpp"#include "thread_entry_task.hpp"#include "thread_task.hpp"#include "thread_waiter.hpp"#include "thread_worker_pool_impl.hpp"#include "count_registry.hpp"#include "base_flag.hpp"#include <mutex>#include <vector>
Namespaces¶
| Type | Name |
|---|---|
| namespace | cubthread |
| namespace | lockfree |
| namespace | tran |
Classes¶
| Type | Name |
|---|---|
| class | manager |
Public Functions¶
Macros¶
| Type | Name |
|---|---|
| define | REGISTER_CONNECTION (name, getter) [**static**](broker__monitor_8c.md#function-timeout) [**cubthread::manager::connection\_registry\_t**](classcubthread_1_1manager.md#typedef-connection_registry_t) [**\_gl\_reg\_conn\_**](broker__monitor_8c.md#function-timeout)##name (#name, [**getter**](broker__monitor_8c.md#function-timeout)) |
| define | REGISTER_DAEMON (name) [**static**](broker__monitor_8c.md#function-timeout) [**cubthread::manager::daemon\_registry\_t**](classcubthread_1_1manager.md#typedef-daemon_registry_t) [**\_gl\_reg\_daemon\_**](broker__monitor_8c.md#function-timeout)##name (#name, 1) |
| define | REGISTER_WORKERPOOL (name, getter) [**static**](broker__monitor_8c.md#function-timeout) [**cubthread::manager::workerpool\_registry\_t**](classcubthread_1_1manager.md#typedef-workerpool_registry_t) [**\_gl\_reg\_wp\_**](broker__monitor_8c.md#function-timeout)##name (#name, [**getter**](broker__monitor_8c.md#function-timeout)) |
Public Functions Documentation¶
function thread_clear_all_holder_anchor¶
function thread_create_stats_worker_pool¶
inline cubthread::stats_worker_pool_type * thread_create_stats_worker_pool (
std::size_t pool_size,
std::size_t core_count,
const char * name,
cubthread::entry_manager & entry_mgr,
bool pool_threads=false,
cubthread::wait_seconds idle_timeout=std::chrono::seconds (5)
)
function thread_create_worker_pool¶
inline cubthread::worker_pool_type * thread_create_worker_pool (
std::size_t pool_size,
std::size_t core_count,
const char * name,
cubthread::entry_manager & entry_mgr,
bool pool_threads=false
)
function thread_get_current_entry_index¶
function thread_get_entry_index¶
function thread_get_entry_manager¶
function thread_get_manager¶
function thread_get_thread_entry_info¶
function thread_get_tran_entry¶
function thread_num_total_threads¶
function thread_return_lock_free_transaction_entries¶
function thread_sleep¶
function thread_sleep_for¶
Macro Definition Documentation¶
define REGISTER_CONNECTION¶
#define REGISTER_CONNECTION (
name,
getter
) `static cubthread::manager::connection_registry_t _gl_reg_conn_ ##name (#name, getter )`
define REGISTER_DAEMON¶
#define REGISTER_DAEMON (
name
) `static cubthread::manager::daemon_registry_t _gl_reg_daemon_ ##name (#name, 1)`
define REGISTER_WORKERPOOL¶
#define REGISTER_WORKERPOOL (
name,
getter
) `static cubthread::manager::workerpool_registry_t _gl_reg_wp_ ##name (#name, getter )`
The documentation for this class was generated from the following file cubrid/src/thread/thread_manager.hpp