MCPcopy Create free account
hub / github.com/acl-dev/acl / threads_count

Method threads_count

lib_acl_cpp/src/stdlib/thread_pool.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109int thread_pool::threads_count() const
110{
111 if (thr_pool_ == NULL) {
112 logger_error("start() not called yet!");
113 return -1;
114 }
115
116 return acl_pthread_pool_size(thr_pool_);
117}
118
119int thread_pool::task_qlen() const
120{

Callers 3

test_thread_poolFunction · 0.80
check_deadMethod · 0.80
keep_connsMethod · 0.80

Calls 1

acl_pthread_pool_sizeFunction · 0.85

Tested by 1

test_thread_poolFunction · 0.64