MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / GetThreadID

Function GetThreadID

src/node/propose_batch.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35{
36
37uint64_t GetThreadID()
38{
39 return (uint64_t)pthread_self();
40}
41
42PendingProposal :: PendingProposal()
43 : psValue(nullptr), poSMCtx(nullptr), pllInstanceID(nullptr),

Callers 1

ProposeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected