[Libreoffice-commits] core.git: Branch 'feature/fixes21' - vcl/source
Jan Holesovsky
kendy at collabora.com
Thu May 12 10:23:57 UTC 2016
vcl/source/app/timer.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit bf8ab28bb30432d017395f783abdb6f23d9ebbc8
Author: Jan Holesovsky <kendy at collabora.com>
Date: Thu May 12 12:19:21 2016 +0200
Implement deterministic mode where only Idles are being processed.
Change-Id: Id9d5c7d9c7ca5ad45453714b84156f1a90507d91
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index 1766d7f..1ac0243 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -90,6 +90,10 @@ void Timer::Invoke()
void Timer::Start()
{
+ static bool bDeterministic = getenv("SAL_DETERMINISTIC_SCHEDULING");
+ if (bDeterministic)
+ return;
+
Scheduler::Start();
Scheduler::ImplStartTimer(mnTimeout);
}
More information about the Libreoffice-commits
mailing list