LLDB  mainline
HostThreadPosix.h
Go to the documentation of this file.
1 //===-- HostThreadPosix.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_POSIX_HOSTTHREADPOSIX_H
10 #define LLDB_HOST_POSIX_HOSTTHREADPOSIX_H
11 
13 
14 namespace lldb_private {
15 
17  HostThreadPosix(const HostThreadPosix &) = delete;
18  const HostThreadPosix &operator=(const HostThreadPosix &) = delete;
19 
20 public:
23  ~HostThreadPosix() override;
24 
25  Status Join(lldb::thread_result_t *result) override;
26  Status Cancel() override;
27 
28  Status Detach();
29 };
30 
31 } // namespace lldb_private
32 
33 #endif // LLDB_HOST_POSIX_HOSTTHREADPOSIX_H
lldb_private::HostThreadPosix
Definition: HostThreadPosix.h:16
lldb_private::HostThreadPosix::Join
Status Join(lldb::thread_result_t *result) override
Definition: HostThreadPosix.cpp:25
lldb_private::HostNativeThreadBase
Definition: HostNativeThreadBase.h:24
HostNativeThreadBase.h
lldb_private::HostThreadPosix::Cancel
Status Cancel() override
Definition: HostThreadPosix.cpp:40
lldb::thread_t
pthread_t thread_t
Definition: lldb-types.h:58
lldb_private::HostThreadPosix::HostThreadPosix
HostThreadPosix()
lldb_private::HostThreadPosix::operator=
const HostThreadPosix & operator=(const HostThreadPosix &)=delete
lldb_private::Status
Definition: Status.h:44
lldb::thread_result_t
void * thread_result_t
Definition: lldb-types.h:62
lldb_private::HostThreadPosix::Detach
Status Detach()
Definition: HostThreadPosix.cpp:53
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::HostThreadPosix::~HostThreadPosix
~HostThreadPosix() override