| 450 | } |
| 451 | |
| 452 | void |
| 453 | ProcessInfo::resetOnFork() |
| 454 | { |
| 455 | // Initialize the log file |
| 456 | Util::initializeLogFile(SharedData::getTmpDir()); |
| 457 | |
| 458 | DmtcpMutexInit(&tblLock, DMTCP_MUTEX_NORMAL); |
| 459 | ppid = pid; |
| 460 | pid = getpid(); |
| 461 | |
| 462 | upid = UniquePid(); |
| 463 | uppid = UniquePid(); |
| 464 | _upidStr.clear(); |
| 465 | |
| 466 | isRootOfProcessTree = false; |
| 467 | _pthreadJoinId.clear(); |
| 468 | _ckptFileName.clear(); |
| 469 | _ckptFilesSubDir.clear(); |
| 470 | updateCkptDirFileSubdir(); |
| 471 | } |
| 472 | |
| 473 | void |
| 474 | ProcessInfo::restoreHeap() |
no test coverage detected