summaryrefslogtreecommitdiff
path: root/include/threadengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/threadengine.h')
-rw-r--r--include/threadengine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/threadengine.h b/include/threadengine.h
index 1337f0c61..764c26242 100644
--- a/include/threadengine.h
+++ b/include/threadengine.h
@@ -20,6 +20,9 @@ extern CoreExport ThreadEngine threadEngine;
class ThreadEngine
{
public:
+ /* Vector of threads */
+ std::vector<Thread *> threads;
+
/** Threadengines constructor
*/
ThreadEngine();
@@ -32,6 +35,10 @@ class ThreadEngine
* @param thread A pointer to a newley allocated thread
*/
void Start(Thread *thread);
+
+ /** Check for finished threads
+ */
+ void Process();
};
class Thread : public Extensible