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

Method postRestart

src/plugin/pid/virtualpidtable.cpp:130–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void
131VirtualPidTable::postRestart()
132{
133 if (_dmtcp_ppid != 1) {
134 updateMapping(_dmtcp_ppid, _real_getppid());
135 }
136
137 VirtualIdTable<pid_t>::postRestart();
138 _do_lock_tbl();
139 _idMapTable[getpid()] = _real_getpid();
140 _do_unlock_tbl();
141}
142
143void
144VirtualPidTable::refresh()

Callers 1

Calls 6

_real_getppidFunction · 0.70
getpidFunction · 0.70
_real_getpidFunction · 0.70
postRestartFunction · 0.50
_do_lock_tblFunction · 0.50
_do_unlock_tblFunction · 0.50

Tested by

no test coverage detected