mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Add missing destructors to os thread classes
Change-Id: If1d513fbeaa2b1d7a353f3321f992a16e8f3a80e Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
@@ -14,6 +14,7 @@ class ThreadLinux : public Thread {
|
||||
public:
|
||||
ThreadLinux(pthread_t threadId);
|
||||
void join() override;
|
||||
~ThreadLinux() override = default;
|
||||
|
||||
protected:
|
||||
pthread_t threadId;
|
||||
|
||||
@@ -14,6 +14,7 @@ class ThreadWin : public Thread {
|
||||
public:
|
||||
ThreadWin(std::thread *thread);
|
||||
void join() override;
|
||||
~ThreadWin() override = default;
|
||||
|
||||
protected:
|
||||
std::unique_ptr<std::thread> thread;
|
||||
|
||||
Reference in New Issue
Block a user