summaryrefslogtreecommitdiff
path: root/include/vcl/scheduler.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-01-25 11:22:56 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2017-07-13 12:10:22 +0200
commitd93acb77667ecdb78b53a1be626ca2e000813828 (patch)
tree43724212eaccd33c68dd78cea46ab8a2b9b17dda /include/vcl/scheduler.hxx
parentd348035a60361a1b9ba9eb7b67013204a24a6633 (diff)
Correctly account starting tasks
When (re-)starting the system timer for new task, we have to take the already passed time into account to correctly set the new timeout time for the system timer. Change-Id: I1c1c61b3e54bd14d9451c53150251534b2a960f0
Diffstat (limited to 'include/vcl/scheduler.hxx')
-rw-r--r--include/vcl/scheduler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index 1dd127c96f9a..f5edb214349a 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -38,7 +38,7 @@ class VCL_DLLPUBLIC Scheduler final
static inline void UpdateMinPeriod( ImplSchedulerData *pSchedulerData,
sal_uInt64 nTime, sal_uInt64 &nMinPeriod );
- static void ImplStartTimer ( sal_uInt64 nMS, bool bForce = false );
+ static void ImplStartTimer ( sal_uInt64 nMS, bool bForce, sal_uInt64 nTime );
public:
static constexpr sal_uInt64 ImmediateTimeoutMs = 1;