Files
compute-runtime/shared/source/os_interface/windows/os_thread_win.h
Daniel Chabrowski 7463e1970b Cleanup headers
Make TUs and headers self-contained, remove unused headers

Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-18 11:42:06 +02:00

26 lines
438 B
C++

/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/os_interface/os_thread.h"
#include <thread>
namespace NEO {
class ThreadWin : public Thread {
public:
ThreadWin(std::thread *thread);
void join() override;
void yield() override;
~ThreadWin() override = default;
protected:
std::unique_ptr<std::thread> thread;
};
} // namespace NEO