Threads and Stop: How about this? A timeout only for the shutdown process? That way the shutdown can either work anyway, or crash, which is simpler than having to open the Task Manager and manually end the deadlocked process.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2401 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-24 03:03:11 +00:00
parent b739dd3817
commit 5f4d304ebc
3 changed files with 5 additions and 3 deletions

View File

@ -74,9 +74,9 @@ public:
void SetAffinity(int mask);
static void SetCurrentThreadAffinity(int mask);
void WaitForDeath(const int _Wait = INFINITE);
private:
void WaitForDeath();
#ifdef _WIN32
HANDLE m_hThread;