don't wake up on Windows messages when waiting for thread termination in a console application as this results in an infinite loop because we never process them and thus they remain in the queue for always (modified patch 1615875; closes bugs 877128)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-02-02 22:46:48 +00:00
parent ac6e0eb154
commit e570a44b37
6 changed files with 36 additions and 12 deletions

View File

@@ -40,6 +40,9 @@ public:
// process a message while waiting for a(nother) thread, should return
// false if and only if we have to exit the application
virtual bool DoMessageFromThreadWait() = 0;
// wait for the handle to be signaled
virtual WXDWORD WaitForThread(WXHANDLE hThread) = 0;
};
#endif // _WX_MSW_APPTBASE_H_