summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-08-26 20:44:42 +0100
committerCarl Hetherington <cth@carlh.net>2017-08-26 20:44:42 +0100
commita6533bd9d37d217035421977d3f0dec86f7a91a1 (patch)
tree736466f5c50e9a0629ead96aeaa7b07e3223748a /src/lib
parent2f665a14eb8322f2d7872d76741188ddfd7af4f5 (diff)
Add a comment.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/signal_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/signal_manager.h b/src/lib/signal_manager.h
index 13a45b640..8041005cf 100644
--- a/src/lib/signal_manager.h
+++ b/src/lib/signal_manager.h
@@ -47,7 +47,9 @@ public:
_service.post (f);
}
- /** Call this in the UI when it is idle */
+ /** Call this in the UI when it is idle.
+ * @return Number of idle handlers that were executed.
+ */
size_t ui_idle () {
/* This executes one of the functors that has been post()ed to _service */
return _service.poll_one ();