private void stopDisplayThread() { while (displayThread != null && !threadExit) { done = true; Utilities.sleep(1, 0); } displayThread = null; }
public bool initVideo() { if (!startVideo()) { return(false); } displayThread = new PmfDisplayThread(this); displayThread.Daemon = true; displayThread.Name = "UMD Browser - PMF Display Thread"; displayThread.Start(); return(true); }