MCPcopy 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
87pid_t
88VirtualPidTable::getpid()
89{
90 if (_dmtcp_pid == -1) {
91 resetPidPpid();
92 }
93
94 return _dmtcp_pid;
95}
96
97pid_t
98VirtualPidTable::getppid()

Callers 1

runTestFunction · 0.80

Calls

no outgoing calls

Tested by 1

runTestFunction · 0.64