2018-05-22 23:23:39 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-09-18 15:11:08 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
2018-05-22 23:23:39 +08:00
|
|
|
|
|
|
|
#include "runtime/os_interface/os_thread.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2018-05-22 23:23:39 +08:00
|
|
|
#include <thread>
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2018-05-22 23:23:39 +08:00
|
|
|
class ThreadWin : public Thread {
|
|
|
|
public:
|
|
|
|
ThreadWin(std::thread *thread);
|
|
|
|
void join() override;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
std::unique_ptr<std::thread> thread;
|
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|