1
0
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:
Adam
2010-05-09 19:02:50 -04:00
committed by Adam
parent 4149afd45d
commit 4e1286ca10
27 changed files with 638 additions and 840 deletions
+5 -4
View File
@@ -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();