Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 1 | //===-- HostNativeThreadForward.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_HOSTNATIVETHREADFORWARD_H |
| 10 | #define LLDB_HOST_HOSTNATIVETHREADFORWARD_H |
Andrew Walbran | 3d2c197 | 2020-04-07 12:24:26 +0100 | [diff] [blame] | 11 | |
| 12 | namespace lldb_private { |
| 13 | #if defined(_WIN32) |
| 14 | class HostThreadWindows; |
| 15 | typedef HostThreadWindows HostNativeThread; |
| 16 | #elif defined(__APPLE__) |
| 17 | class HostThreadMacOSX; |
| 18 | typedef HostThreadMacOSX HostNativeThread; |
| 19 | #else |
| 20 | class HostThreadPosix; |
| 21 | typedef HostThreadPosix HostNativeThread; |
| 22 | #endif |
| 23 | } |
| 24 | |
| 25 | #endif |