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