Lines Matching defs:runner
81 nsCOMPtr<nsIThread> runner;
82 rv = NS_NewThread(getter_AddRefs(runner), new nsRunner(0), 0, PR_JOINABLE_THREAD);
96 rv = runner->GetScope(&scope);
98 printf("runner already exited\n");
101 rv = runner->Join(); // wait for the runner to die before quitting
106 rv = runner->GetScope(&scope); // this should fail after Join
111 rv = runner->Interrupt(); // this should fail after Join
118 rv = NS_NewThread(getter_AddRefs(runner), new nsRunner(1));
124 rv = runner->Join(); // wait for the runner to die before quitting
129 PR_Sleep(PR_MillisecondsToInterval(100)); // hopefully the runner will quit here