Kaydet (Commit) 69977ed9 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

WIN just wait for the Yield mutex in the timerout

Don't re-schedule a timeout, simply wait in the timer callback.

Change-Id: Ib46eb6dbf57f29c85ffdbd6492922020f7785d30
üst 5229f159
......@@ -154,16 +154,9 @@ void EmitTimerCallback()
if ( ! pSVData->maSchedCtx.mpSalTimer )
return;
// Try to acquire the mutex. If we don't get the mutex then we
// try this a short time later again.
if (ImplSalYieldMutexTryToAcquire())
{
pSVData->maSchedCtx.mpSalTimer->CallCallback();
ImplSalYieldMutexRelease();
}
else
ImplSalStartTimer( 10 );
ImplSalYieldMutexAcquireWithWait();
pSVData->maSchedCtx.mpSalTimer->CallCallback();
ImplSalYieldMutexRelease();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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