MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / updateMapping

Method updateMapping

src/plugin/pid/virtualpidtable.cpp:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void
191VirtualPidTable::updateMapping(pid_t virtualId, pid_t realId)
192{
193 if (virtualId > 0 && realId > 0) {
194 _do_lock_tbl();
195 _idMapTable[virtualId] = realId;
196 _do_unlock_tbl();
197 }
198}
199
200pid_t
201VirtualPidTable::realToVirtual(pid_t realPid)

Callers 5

resetPidPpidMethod · 0.45
resetTidMethod · 0.45
forkFunction · 0.45
vforkFunction · 0.45

Calls 2

_do_lock_tblFunction · 0.50
_do_unlock_tblFunction · 0.50

Tested by

no test coverage detected