mirror of
https://github.com/anope/anope.git
synced 2026-07-06 08:33:14 +02:00
Rewrote the mail system to use threading
This commit is contained in:
@@ -36,10 +36,7 @@ class Thread : public Extensible
|
||||
private:
|
||||
/* Set to true to tell the thread to finish and we are waiting for it */
|
||||
bool Exit;
|
||||
|
||||
/** Join to the thread, sets the exit state to true
|
||||
*/
|
||||
void Join();
|
||||
|
||||
public:
|
||||
/* Handle for this thread */
|
||||
ThreadHandle Handle;
|
||||
@@ -52,6 +49,10 @@ class Thread : public Extensible
|
||||
*/
|
||||
virtual ~Thread();
|
||||
|
||||
/** Join to the thread, sets the exit state to true
|
||||
*/
|
||||
void Join();
|
||||
|
||||
/** Sets the exit state as true informing the thread we want it to shut down
|
||||
*/
|
||||
void SetExitState();
|
||||
|
||||
Reference in New Issue
Block a user