diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-03-19 15:17:42 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-04-05 00:30:18 +0200 |
commit | 5e53fe7b53017068d183e923f6a77f0afaf31d67 (patch) | |
tree | 954953ef1686ad0a1ebe7642889465304b09375a /include | |
parent | 88d3172f170fcb2e49d832b80444fd16b818deed (diff) |
VCL drop Scheduler::ProcessTaskScheduling
Just process tasks (and system events) via DoYield and actually
wake up the system timer on OSX.
This drops the testFocus unit test. There is some comment about
it in README.lifecycle, but the test's CPPUNIT_ASSERT was already
commented and mmeeks suggested to simply drop it.
Even worse: just replacing
- Scheduler::ProcessTaskScheduling();
+ Scheduler::ProcessEventsToIdle();
results in a SIGSEGV in my local Linux build, which is a totally
unrelated crash.
Change-Id: Ie3e2a8668b8501f081706dde0ba3684801c30cc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112761
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/scheduler.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx index 7219146cbf39..1b63404139bf 100644 --- a/include/vcl/scheduler.hxx +++ b/include/vcl/scheduler.hxx @@ -45,10 +45,13 @@ public: static void ImplDeInitScheduler(); - /// Process one pending Timer with highest priority - static void CallbackTaskScheduling(); - /// Process one pending task ahead of time with highest priority. - static bool ProcessTaskScheduling(); + /** + * System timer callback function, which processes one LO task + * + * Will restart the system timer, so it will process further tasks at the right time. + **/ + static void CallbackTaskScheduling(); + /** * Process all events until none is pending * |