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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user