MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / thpool_num_threads

Function thpool_num_threads

src/util/thpool/thpool.c:258–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258int thpool_num_threads(thpool_* thpool_p) {
259 return thpool_p->num_threads_alive;
260}
261
262int thpool_get_thread_id(thpool_* thpool_p, pthread_t pthread) {
263 for(int i = 0; i < thpool_p->num_threads_alive; i++) {

Callers 3

ThreadPools_ThreadCountFunction · 0.85
ThreadPools_ReadersCountFunction · 0.85
ThreadPools_GetThreadIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected