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

Function bthread_getconcurrency

src/bthread/bthread.cpp:425–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425int bthread_getconcurrency(void) {
426 return bthread::FLAGS_bthread_concurrency;
427}
428
429int bthread_setconcurrency(int num) {
430 if (num < BTHREAD_MIN_CONCURRENCY || num > BTHREAD_MAX_CONCURRENCY) {

Callers 3

TESTFunction · 0.85
TEST_FFunction · 0.85
BeginRunningUserCodeFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68