Kaydet (Commit) 815fe911 authored tarafından Michael Stahl's avatar Michael Stahl

vcl: document mnDispatchLevel TODO

Change-Id: I3c9f16bf0a2e6565612c32f48a95f447c09860e9
üst 6b199c50
......@@ -347,6 +347,10 @@ inline void ImplYield(bool i_bWait, bool i_bAllEvents, sal_uLong const nReleased
Scheduler::ProcessTaskScheduling(false);
}
// TODO: there's a data race here on WNT only because ImplYield may be
// called without SolarMutex; if we can get rid of LazyDelete (with VclPtr)
// then the only remaining use of mnDispatchLevel is in OSX specific code
// so that would effectively eliminate the race on WNT
pSVData->maAppData.mnDispatchLevel++;
// do not wait for events if application was already quit; in that
// case only dispatch events already available
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment