diff options
Diffstat (limited to 'include/threadengine.h')
-rw-r--r-- | include/threadengine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/threadengine.h b/include/threadengine.h index 7849ab89d..b240c1bbf 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -14,6 +14,8 @@ #include "sockets.h" #include "extensible.h" +#include <thread> + class CoreExport Thread : public Pipe , public Extensible @@ -24,7 +26,7 @@ private: public: /* Handle for this thread */ - pthread_t handle; + std::thread *handle = nullptr; /** Threads destructor */ |