mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 979741 - Use MOZ_DEBUG_CHILD_PROCESS environment variable for processes forked from Nuwa. r=khuey
This commit is contained in:
parent
49fc2edda2
commit
3b8647cc68
@ -1561,10 +1561,10 @@ ForkIPCProcess() {
|
||||
CloseAllProtoSockets(sProtoFdInfos, sProtoFdInfosSize);
|
||||
} else {
|
||||
// in the child
|
||||
#ifdef NUWA_DEBUG_CHILD_PROCESS
|
||||
fprintf(stderr, "\n\n DEBUG ME @%d\n\n", getpid());
|
||||
sleep(15);
|
||||
#endif
|
||||
if (getenv("MOZ_DEBUG_CHILD_PROCESS")) {
|
||||
printf("\n\nNUWA CHILDCHILDCHILDCHILD\n debug me @ %d\n\n", getpid());
|
||||
sleep(30);
|
||||
}
|
||||
ReplaceSignalFds();
|
||||
ReplaceIPC(sProtoFdInfos, sProtoFdInfosSize);
|
||||
RecreateEpollFds();
|
||||
|
Loading…
Reference in New Issue
Block a user