summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-27 13:51:27 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-27 23:30:39 +0000
commit2d48c9dce371f9121c00f07ab3b977c1157f623a (patch)
tree76a6c59863d291ea195b14af4149550d02f53b0a /include
parentClean up use of integer types (diff)
downloadcore-2d48c9dce371f9121c00f07ab3b977c1157f623a.tar.gz
core-2d48c9dce371f9121c00f07ab3b977c1157f623a.zip
uitest: add scheduler method that runs until a signal is received
The other method only runs 1000 events. Change-Id: I43076988e9e25b35e3fdfd8dff19270d9e066d9a Reviewed-on: https://gerrit.libreoffice.org/34690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/scheduler.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index 19fbb4f8d5cf..d504e28309e4 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -44,8 +44,12 @@ public:
static sal_uInt64 CalculateMinimumTimeout( bool &bHasActiveIdles );
/// Process one pending task ahead of time with highest priority.
static bool ProcessTaskScheduling( bool bIdle );
- /// Process all events until we are idle
+ /**
+ * Process events until the parameter turns true,
+ * allows processing until a specific event has been processed
+ */
static void ProcessEventsToIdle();
+ static void ProcessEventsToSignal(bool& bSignal);
/// Control the deterministic mode. In this mode, two subsequent runs of
/// LibreOffice fire about the same amount idles.