Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
41
size_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
50
thread_pool& thread_pool::set_idle(int ttl)
51
{
Callers
2
check_dead
Method · 0.80
keep_conns
Method · 0.80
Calls
1
acl_pthread_pool_limit
Function · 0.85
Tested by
no test coverage detected