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

Method push_priority_queue

src/bthread/task_control.h:104–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102#endif // BRPC_BTHREAD_TRACER
103
104 void push_priority_queue(bthread_tag_t tag, bthread_t tid) {
105 _priority_queues[tag].push(tid);
106 }
107
108 std::vector<bthread_t> get_living_bthreads();
109private:

Callers 1

priority_to_runMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected