]> git.saurik.com Git - wxWidgets.git/commit - src/msw/evtloop.cpp
check in the 'selective yield' patch (see ticket #10320):
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 4 Feb 2009 17:42:28 +0000 (17:42 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 4 Feb 2009 17:42:28 +0000 (17:42 +0000)
commitd48b06bd9039597545de9a862501d57c5f9ec1ea
treed65733daf30cde2195da0a17a779b860c1d0c8be
parenta721fd82b7ca8c97048453d4aaff559e8f741d69
check in the 'selective yield' patch (see ticket #10320):
- implements YieldFor() with event filtering for wxMSW and wxGTK,
  adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
39 files changed:
include/wx/app.h
include/wx/cocoa/app.h
include/wx/dfb/app.h
include/wx/event.h
include/wx/gtk/app.h
include/wx/gtk1/app.h
include/wx/list.h
include/wx/mgl/app.h
include/wx/motif/app.h
include/wx/msw/app.h
include/wx/os2/app.h
include/wx/osx/app.h
include/wx/palmos/app.h
include/wx/socket.h
include/wx/timer.h
include/wx/x11/app.h
interface/wx/app.h
interface/wx/event.h
samples/clipboard/clipboard.cpp
samples/thread/thread.cpp
src/cocoa/app.mm
src/common/appbase.cpp
src/common/appcmn.cpp
src/common/event.cpp
src/common/init.cpp
src/dfb/app.cpp
src/dfb/evtloop.cpp
src/generic/progdlgg.cpp
src/gtk/app.cpp
src/gtk/clipbrd.cpp
src/gtk1/app.cpp
src/mgl/app.cpp
src/motif/app.cpp
src/msw/app.cpp
src/msw/evtloop.cpp
src/os2/app.cpp
src/osx/carbon/app.cpp
src/palmos/app.cpp
src/x11/app.cpp