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 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 29