blob: 4e41119d97c6aaab8ff26ea3d6b41aace08b4ea5 [file] [log] [blame]
Andrew Walbran3d2c1972020-04-07 12:24:26 +01001//===-- HostThreadMacOSX.h --------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
Olivier Deprezf4ef2d02021-04-20 13:36:24 +02009#ifndef LLDB_HOST_MACOSX_HOSTTHREADMACOSX_H
10#define LLDB_HOST_MACOSX_HOSTTHREADMACOSX_H
Andrew Walbran3d2c1972020-04-07 12:24:26 +010011
12#include "lldb/Host/posix/HostThreadPosix.h"
13
14namespace lldb_private {
15
16class HostThreadMacOSX : public HostThreadPosix {
17 friend class ThreadLauncher;
18
19public:
20 HostThreadMacOSX();
21 HostThreadMacOSX(lldb::thread_t thread);
22
23protected:
24 static lldb::thread_result_t ThreadCreateTrampoline(lldb::thread_arg_t arg);
25};
26}
27
28#endif