More temporary debug spew to sort linux mochitest hang.

This commit is contained in:
Chris Jones 2010-01-25 14:10:12 -06:00
Родитель f160fbceec
Коммит e6ff1d1ce5
2 изменённых файлов: 27 добавлений и 0 удалений

Просмотреть файл

@ -265,6 +265,16 @@ PluginModuleChild::AnswerNP_Shutdown(NPError *rv)
{
AssertPluginThread();
#ifdef OS_LINUX
printf("TEST-UNEXPECTED-FAIL | plugin process %d | got NP_Shutdown() %d\n", getpid());
#endif
// the PluginModuleParent shuts down this process after this RPC
// call pops off its stack

Просмотреть файл

@ -115,7 +115,24 @@ protected:
void WaitForChildExit()
{
DCHECK(process_);
printf("TEST-UNEXPECTED-FAIL | process %d busy-waiting on | child process %d\n", getpid(), process_);
HANDLE_EINTR(waitpid(process_, NULL, 0));
printf("TEST-UNEXPECTED-FAIL | process %d done busy-waiting on | child process %d\n", getpid(), process_);
}
pid_t process_;