1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 11:46:39 +02:00

Split db_mysql_live into two modules so other modules can make use of the asynchronous command interface

This commit is contained in:
Adam
2011-02-17 14:31:21 -05:00
parent 18bd33f9a4
commit 536ea2189a
8 changed files with 277 additions and 172 deletions
+5 -1
View File
@@ -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
*/