MCPcopy Create free account
hub / github.com/Tencent/phxqueue / AcquireLock

Method AcquireLock

phxqueue_phxrpc/app/lock/lock_service_impl.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48int LockServiceImpl::AcquireLock(const phxqueue::comm::proto::AcquireLockRequest &req,
49 phxqueue::comm::proto::AcquireLockResponse *resp) {
50 int ret{static_cast<int>(lock_->AcquireLock(req, *resp))};
51
52 if (0 != ret) {
53 QLErr("Lock AcquireLock err %d", ret);
54 }
55
56 return ret;
57}
58

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected