CUBRID Engine  latest
thread_worker_pool.cpp File Reference
#include "thread_worker_pool.hpp"
#include "error_manager.h"
#include "perf.hpp"
#include <sstream>
#include <cstring>
Include dependency graph for thread_worker_pool.cpp:

Go to the source code of this file.

Namespaces

 cubthread
 

Functions

bool cubthread::wp_is_thread_always_alive_forced ()
 
void cubthread::wp_set_force_thread_always_alive ()
 
cubperf::statsetcubthread::wp_worker_statset_create (void)
 
void cubthread::wp_worker_statset_destroy (cubperf::statset &stats)
 
void cubthread::wp_worker_statset_time_and_increment (cubperf::statset &stats, cubperf::stat_id id)
 
void cubthread::wp_worker_statset_accumulate (const cubperf::statset &what, cubperf::stat_value *where)
 
std::size_t cubthread::wp_worker_statset_get_count (void)
 
const char * cubthread::wp_worker_statset_get_name (std::size_t stat_index)
 
std::size_t cubthread::system_core_count (void)
 
void cubthread::wp_handle_system_error (const char *message, const std::system_error &e)
 
void cubthread::wp_er_log_stats (const char *header, cubperf::stat_value *statsp)
 

Variables

static bool cubthread::FORCE_THREAD_ALWAYS_ALIVE = false
 
static const cubperf::statset_definition cubthread::Worker_pool_statdef