NS_WARNING("MyMainLoop exiting!\n");
NS_WARNING("MyMainLoop exiting!");
void MyMainLoop( void ) {	nsAppShell::gExitMainLoop = PR_FALSE;	while (! nsAppShell::gExitMainLoop)	{		PtProcessEvent();	}    NS_WARNING("MyMainLoop exiting!\n");}