MCPcopy Create free account
hub / github.com/apache/brpc / bthread_keytable_pool_size

Function bthread_keytable_pool_size

test/bthread_key_unittest.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47extern "C" {
48int bthread_keytable_pool_size(bthread_keytable_pool_t* pool) {
49 bthread_keytable_pool_stat_t s;
50 if (bthread_keytable_pool_getstat(pool, &s) != 0) {
51 return 0;
52 }
53 return s.nfree;
54}
55}
56
57namespace {

Callers 1

TESTFunction · 0.85

Calls 1

Tested by

no test coverage detected