From 3e22fee84290c859a13186e6e485b02b33305618 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 5 Nov 2015 12:41:14 -0800 Subject: Integrate deferred background processing into main OneService implementation. --- node/Node.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'node') diff --git a/node/Node.hpp b/node/Node.hpp index 800c0a55..76dec50e 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -129,6 +129,14 @@ public: // Internal functions ------------------------------------------------------ + /** + * Convenience threadMain() for easy background thread launch + * + * This allows background threads to be launched with Thread::start + * that will run against this node. + */ + inline void threadMain() throw() { this->backgroundThreadMain(); } + /** * @return Time as of last call to run() */ -- cgit v1.2.3