summaryrefslogtreecommitdiff
path: root/include/vcl/scheduler.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-09-14 15:33:54 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-07-13 12:10:23 +0200
commit7a1c1699a61a77d0228417da9922812c9b893b9d (patch)
tree9ded7bd1fe28e211df290090a8b49690696fcc63 /include/vcl/scheduler.hxx
parent503eba23c9a199583eddee9e169a4fddbecf416f (diff)
Run Idle tasks immediatly
There is really no reason to wait a millisecond for an idle. Change-Id: I7665d5f2e7d6ba3e01290a692bbc8e42c36b9986
Diffstat (limited to 'include/vcl/scheduler.hxx')
-rw-r--r--include/vcl/scheduler.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index b1c59dc0a6f5..5c5617cd0c8b 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -45,8 +45,8 @@ class VCL_DLLPUBLIC Scheduler final
static void ImplStartTimer ( sal_uInt64 nMS, bool bForce, sal_uInt64 nTime );
public:
- static constexpr sal_uInt64 ImmediateTimeoutMs = 1;
- static constexpr sal_uInt64 InfiniteTimeoutMs = 1000 * 60 * 60 * 24; // 1 day
+ static constexpr sal_uInt64 ImmediateTimeoutMs = 0;
+ static constexpr sal_uInt64 InfiniteTimeoutMs = SAL_MAX_UINT64;
static void ImplDeInitScheduler();