LLDB
mainline
llvm-project
lldb
include
lldb
Host
posix
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
12
#include "
lldb/Host/HostNativeThreadBase.h
"
13
14
namespace
lldb_private
{
15
16
class
HostThreadPosix
:
public
HostNativeThreadBase
{
17
HostThreadPosix
(
const
HostThreadPosix
&) =
delete
;
18
const
HostThreadPosix
&
operator=
(
const
HostThreadPosix
&) =
delete
;
19
20
public
:
21
HostThreadPosix
();
22
HostThreadPosix
(
lldb::thread_t
thread);
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
HostNativeThreadBase.h
lldb_private::HostNativeThreadBase
Definition:
HostNativeThreadBase.h:24
lldb_private::HostThreadPosix
Definition:
HostThreadPosix.h:16
lldb_private::HostThreadPosix::operator=
const HostThreadPosix & operator=(const HostThreadPosix &)=delete
lldb_private::HostThreadPosix::Join
Status Join(lldb::thread_result_t *result) override
Definition:
HostThreadPosix.cpp:25
lldb_private::HostThreadPosix::~HostThreadPosix
~HostThreadPosix() override
lldb_private::HostThreadPosix::HostThreadPosix
HostThreadPosix()
lldb_private::HostThreadPosix::Detach
Status Detach()
Definition:
HostThreadPosix.cpp:53
lldb_private::HostThreadPosix::Cancel
Status Cancel() override
Definition:
HostThreadPosix.cpp:40
lldb_private::HostThreadPosix::HostThreadPosix
HostThreadPosix(const HostThreadPosix &)=delete
lldb_private::Status
An error handling class.
Definition:
Status.h:44
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAttachInfo.h:14
lldb::thread_result_t
void * thread_result_t
Definition:
lldb-types.h:62
lldb::thread_t
pthread_t thread_t
Definition:
lldb-types.h:58
Generated on Wed May 31 2023 19:02:40 for LLDB by
1.9.6