summaryrefslogtreecommitdiff
path: root/include/threadengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/threadengine.h')
-rw-r--r--include/threadengine.h9
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();