Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ set_pl
Method
set_pl
src/bthread/task_group.h:343–343 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
341
void set_tag(bthread_tag_t tag) { _tag = tag; }
342
343
void set_pl(ParkingLot* pl) { _pl = pl; }
344
345
static bool is_main_task(TaskGroup* g, bthread_t tid) {
346
return g->_main_tid == tid;
Callers
1
_add_group
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected