Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap.

This commit is contained in:
Ben Turner
2013-11-26 23:59:41 -08:00
parent 707fcd040c
commit d4a90e7e20
19 changed files with 2299 additions and 3 deletions

View File

@@ -428,8 +428,10 @@ MessageChannel::MaybeInterceptSpecialIOMessage(const Message& aMsg)
// :TODO: Sort out Close() on this side racing with Close() on the
// other side
mChannelState = ChannelClosing;
printf("NOTE: %s process received `Goodbye', closing down\n",
(mSide == ChildSide) ? "child" : "parent");
if (LoggingEnabled()) {
printf("NOTE: %s process received `Goodbye', closing down\n",
(mSide == ChildSide) ? "child" : "parent");
}
return true;
}
return false;
@@ -1731,4 +1733,3 @@ MessageChannel::DumpInterruptStack(const char* const pfx) const
} // ipc
} // mozilla