Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
uint64_t GetThreadID()
38
{
39
return (uint64_t)pthread_self();
40
}
41
42
PendingProposal :: PendingProposal()
43
: psValue(nullptr), poSMCtx(nullptr), pllInstanceID(nullptr),
Callers
1
Propose
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected