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
14namespace lldb_private {
15
18 const HostThreadPosix &operator=(const HostThreadPosix &) = delete;
19
20public:
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
const HostThreadPosix & operator=(const HostThreadPosix &)=delete
Status Join(lldb::thread_result_t *result) override
HostThreadPosix(const HostThreadPosix &)=delete
An error handling class.
Definition: Status.h:44
A class that represents a running process on the host machine.
void * thread_result_t
Definition: lldb-types.h:62
pthread_t thread_t
Definition: lldb-types.h:58