diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-08 06:55:30 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 12:10:21 +0200 |
commit | d348035a60361a1b9ba9eb7b67013204a24a6633 (patch) | |
tree | 85e7e4ff2dd926ef9d2907b4f4900815bdbb96c5 /include/vcl/idle.hxx | |
parent | 1782893282a4543e946e6b2c8de863b10fab0c85 (diff) |
Drop special idle handling
Idles are just instant timers, which should most time have a low
priority, By dropping most special idle handling we'll just
schedule by priority.
This also reverts SalYieldResult back to a bool, which just
indicates if any event was processed.
Change-Id: Ia0b91b06dffb77af066f01838d8f9483523bf67d
Diffstat (limited to 'include/vcl/idle.hxx')
-rw-r--r-- | include/vcl/idle.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx index 2112fc62464c..157d14d96816 100644 --- a/include/vcl/idle.hxx +++ b/include/vcl/idle.hxx @@ -35,7 +35,7 @@ private: sal_uInt64 GetTimeout() const = delete; protected: - virtual bool ReadyForSchedule( bool bIdle, sal_uInt64 nTimeNow ) const override; + virtual bool ReadyForSchedule( sal_uInt64 nTimeNow ) const override; virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const override; Idle( bool bAuto, const sal_Char *pDebugName = nullptr ); |