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

Method destroy_self

src/bthread/task_group.cpp:841–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839}
840
841void TaskGroup::destroy_self() {
842 if (_control) {
843 _control->_destroy_group(this);
844 _control = NULL;
845 } else {
846 CHECK(false);
847 }
848}
849
850
851void TaskGroup::ready_to_run(TaskMeta* meta, bool nosignal) {

Callers 1

worker_threadMethod · 0.80

Calls 1

_destroy_groupMethod · 0.80

Tested by

no test coverage detected