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

Method flush_nosignal_tasks

src/bthread/task_group.cpp:866–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866void TaskGroup::flush_nosignal_tasks() {
867 const int val = _num_nosignal;
868 if (val) {
869 _num_nosignal = 0;
870 _nsignaled += val;
871 _control->signal_task(val, _tag);
872 }
873}
874
875void TaskGroup::ready_to_run_remote(TaskMeta* meta, bool nosignal) {
876#ifdef BRPC_BTHREAD_TRACER

Callers 1

bthread_flushFunction · 0.80

Calls 1

signal_taskMethod · 0.80

Tested by

no test coverage detected