compute-runtime/shared/source/os_interface/linux/os_thread_linux.h

23 lines
388 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#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;
~ThreadLinux() override = default;
protected:
pthread_t threadId;
};
} // namespace NEO