зеркало из https://github.com/mozilla/pjs.git
Fix for 19170 -- yield to NSPR threads in our main event loop, to service the necko thread more promptly. r=sdagley
This commit is contained in:
Родитель
dbed08ff40
Коммит
415c3552fe
|
@ -332,6 +332,9 @@ void nsMacMessagePump::DispatchEvent(PRBool aRealEvent, EventRecord *anEvent)
|
|||
DoIdle(*anEvent);
|
||||
if (mRunning)
|
||||
Repeater::DoIdlers(*anEvent);
|
||||
|
||||
// yield to other threads
|
||||
::PR_Sleep(PR_INTERVAL_NO_WAIT);
|
||||
}
|
||||
|
||||
if (mRunning)
|
||||
|
|
Загрузка…
Ссылка в новой задаче