From 536ea2189ae1ff8bf05583ed03fac86797616ac9 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 17 Feb 2011 14:31:21 -0500 Subject: Split db_mysql_live into two modules so other modules can make use of the asynchronous command interface --- include/threadengine.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/threadengine.h b/include/threadengine.h index 822774c6e..20e3c81eb 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -45,7 +45,7 @@ class CoreExport Thread : public Extensible { private: /* Set to true to tell the thread to finish and we are waiting for it */ - bool Exit; + bool exit; public: /* Handle for this thread */ @@ -67,6 +67,10 @@ class CoreExport Thread : public Extensible */ void SetExitState(); + /** Exit the thread. Note that the thread still must be joined to free resources! + */ + void Exit(); + /** Returns the exit state of the thread * @return true if we want to exit */ -- cgit