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

Method get_limit

lib_acl_cpp/src/stdlib/thread_pool.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41size_t thread_pool::get_limit() const
42{
43 if (thr_pool_) {
44 return acl_pthread_pool_limit(thr_pool_);
45 } else {
46 return threads_limit_;
47 }
48}
49
50thread_pool& thread_pool::set_idle(int ttl)
51{

Callers 2

check_deadMethod · 0.80
keep_connsMethod · 0.80

Calls 1

acl_pthread_pool_limitFunction · 0.85

Tested by

no test coverage detected