blob: 4247de6da1281190f19f176b00af00ea2da4f177 [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
9#ifndef lldb_Host_macosx_HostThreadMacOSX_h_
10#define lldb_Host_macosx_HostThreadMacOSX_h_
11
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