Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmtcp/dmtcp
/ getpid
Method
getpid
src/plugin/pid/virtualpidtable.cpp:87–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
pid_t
88
VirtualPidTable::getpid()
89
{
90
if (_dmtcp_pid == -1) {
91
resetPidPpid();
92
}
93
94
return _dmtcp_pid;
95
}
96
97
pid_t
98
VirtualPidTable::getppid()
Callers
1
runTest
Function · 0.80
Calls
no outgoing calls
Tested by
1
runTest
Function · 0.64