xref: /freebsd/contrib/llvm-project/lldb/include/lldb/Host/HostNativeThreadForward.h (revision e25152834cdf3b353892835a4f3b157e066a8ed4)
10b57cec5SDimitry Andric //===-- HostNativeThreadForward.h -------------------------------*- C++ -*-===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric 
9*5ffd83dbSDimitry Andric #ifndef LLDB_HOST_HOSTNATIVETHREADFORWARD_H
10*5ffd83dbSDimitry Andric #define LLDB_HOST_HOSTNATIVETHREADFORWARD_H
110b57cec5SDimitry Andric 
120b57cec5SDimitry Andric namespace lldb_private {
130b57cec5SDimitry Andric #if defined(_WIN32)
140b57cec5SDimitry Andric class HostThreadWindows;
150b57cec5SDimitry Andric typedef HostThreadWindows HostNativeThread;
160b57cec5SDimitry Andric #elif defined(__APPLE__)
170b57cec5SDimitry Andric class HostThreadMacOSX;
180b57cec5SDimitry Andric typedef HostThreadMacOSX HostNativeThread;
190b57cec5SDimitry Andric #else
200b57cec5SDimitry Andric class HostThreadPosix;
210b57cec5SDimitry Andric typedef HostThreadPosix HostNativeThread;
220b57cec5SDimitry Andric #endif
230b57cec5SDimitry Andric }
240b57cec5SDimitry Andric 
250b57cec5SDimitry Andric #endif
26