xref: /openbsd-src/gnu/llvm/lldb/include/lldb/Host/macosx/HostThreadMacOSX.h (revision f6aab3d83b51b91c24247ad2c2573574de475a82)
1 //===-- 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 
14 namespace lldb_private {
15 
16 class HostThreadMacOSX : public HostThreadPosix {
17   friend class ThreadLauncher;
18 
19 public:
20   using HostThreadPosix::HostThreadPosix;
21 
22 protected:
23   static lldb::thread_result_t ThreadCreateTrampoline(lldb::thread_arg_t arg);
24 };
25 }
26 
27 #endif
28