]> git.saurik.com Git - wxWidgets.git/commit - src/unix/threadpsx.cpp
Allow wxThread::Wait() and Delete() to block, even under wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:32 +0000 (11:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:32 +0000 (11:54 +0000)
commitb95a7c314446677c62f646ce76f9121b4537a81e
tree650f7079137c0d45eb6a2b8b7f9284a79d62bee9
parent31dcbd12ef41de81f46e09f2a1694d5f83f08cff
Allow wxThread::Wait() and Delete() to block, even under wxMSW.

Add "wait mode" parameter to these methods which can be used to make them
block even under wxMSW where they currently dispatch messages when called
which can be totally unexpected.

Do keep the old behaviour for compatibility however, although it will change i
3.2.

Closes #12998.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 files changed:
docs/changes.txt
include/wx/msw/apptbase.h
include/wx/msw/apptrait.h
include/wx/thread.h
interface/wx/thread.h
src/msw/app.cpp
src/msw/basemsw.cpp
src/msw/thread.cpp
src/os2/thread.cpp
src/osx/carbon/thread.cpp
src/palmos/thread.cpp
src/unix/threadpsx.cpp