diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-05-09 19:02:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:01:09 -0400 |
commit | 4e1286ca109d079f32d32f07c344a1ab93899032 (patch) | |
tree | ef55488a4cc068f8954a8862ab2e67f2d1872281 /include/threadengine.h | |
parent | 4149afd45d2c0b9f464d1b4434f7bdaa61873d44 (diff) |
Rewrote the mail system to use threading
Diffstat (limited to 'include/threadengine.h')
-rw-r--r-- | include/threadengine.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/threadengine.h b/include/threadengine.h index e2125c6bd..ab668ea50 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -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(); |