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

Method allocate_node

src/bthread/execution_queue.cpp:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328TaskNode* ExecutionQueueBase::allocate_node() {
329 get_execq_vars()->running_task_count << 1;
330 return butil::get_object<TaskNode>();
331}
332
333TaskNode* const TaskNode::UNCONNECTED = (TaskNode*)-1L;
334

Callers

nothing calls this directly

Calls 1

get_execq_varsFunction · 0.85

Tested by

no test coverage detected