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

Function StartCancel

src/brpc/controller.cpp:396–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void StartCancel(CallId id) {
397 bthread_id_error(id, ECANCELED);
398}
399
400void Controller::StartCancel() {
401 LOG(FATAL) << "You must call brpc::StartCancel(id) instead!"

Callers 6

RunMethod · 0.85
CancelerMethod · 0.85
DestroyMethod · 0.85

Calls

no outgoing calls

Tested by 4

CancelerMethod · 0.68