Kaydet (Commit) 6fcd9f49 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

increase the sleep time of the Mozilla UI Thread

üst f9792bef
...@@ -231,8 +231,8 @@ void MNS_XPCOM_EventLoop() ...@@ -231,8 +231,8 @@ void MNS_XPCOM_EventLoop()
if (NS_FAILED(rv)) if (NS_FAILED(rv))
return ; return ;
if (event) if (event)
eventQ->HandleEvent(event); eventQ->HandleEvent(event);
}while ( PR_SUCCESS == PR_Sleep( PR_MillisecondsToInterval(1)) && aLive ); }while ( PR_SUCCESS == PR_Sleep( PR_MillisecondsToInterval(20)) && aLive );
eventQ->ProcessPendingEvents(); eventQ->ProcessPendingEvents();
OSL_TRACE( "OUT : MNS_XPCOM_EventLoop()" ); OSL_TRACE( "OUT : MNS_XPCOM_EventLoop()" );
......
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