Searched refs:nsRunner (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestThreads.cpp47 class nsRunner : public nsIRunnable { class in inherits:nsIRunnable
67 nsRunner(int num) : mNum(num) { function in class:nsRunner
74 NS_IMPL_THREADSAFE_ISUPPORTS1(nsRunner, nsIRunnable)
82 rv = NS_NewThread(getter_AddRefs(runner), new nsRunner(0), 0, PR_JOINABLE_THREAD);
118 rv = NS_NewThread(getter_AddRefs(runner), new nsRunner(1));

Completed in 50 milliseconds