Files
compute-runtime/shared/source/os_interface/linux/os_thread_linux.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
429 B
C++

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