Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
425
int bthread_getconcurrency(void) {
426
return bthread::FLAGS_bthread_concurrency;
427
}
428
429
int bthread_setconcurrency(int num) {
430
if (num < BTHREAD_MIN_CONCURRENCY || num > BTHREAD_MAX_CONCURRENCY) {
Callers
3
TEST
Function · 0.85
TEST_F
Function · 0.85
BeginRunningUserCode
Function · 0.85
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.68
TEST_F
Function · 0.68