Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 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 | |
Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 9 | #ifndef LLDB_HOST_MACOSX_HOSTTHREADMACOSX_H |
| 10 | #define LLDB_HOST_MACOSX_HOSTTHREADMACOSX_H |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 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 | HostThreadMacOSX(); |
| 21 | HostThreadMacOSX(lldb::thread_t thread); |
| 22 | |
| 23 | protected: |
| 24 | static lldb::thread_result_t ThreadCreateTrampoline(lldb::thread_arg_t arg); |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | #endif |