From 274bb19d03698958e9ef9298ec29c8644a310daf Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 11 Feb 2024 20:17:48 +0000 Subject: Switch Thread to use the C++11 equivalent, remove win32/pthread. --- include/threadengine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 + 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 */ -- cgit