LLDB mainline
HostThreadWindows.h
Go to the documentation of this file.
1//===-- HostThreadWindows.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_windows_HostThreadWindows_h_
10#define lldb_Host_windows_HostThreadWindows_h_
11
13
14#include "llvm/ADT/SmallString.h"
15
16namespace lldb_private {
17
21
22public:
25 virtual ~HostThreadWindows();
26
27 void SetOwnsHandle(bool owns);
28
29 Status Join(lldb::thread_result_t *result) override;
30 Status Cancel() override;
31 void Reset() override;
32 bool EqualsThread(lldb::thread_t thread) const override;
33
35
36private:
38};
39}
40
41#endif
Status Join(lldb::thread_result_t *result) override
const HostThreadWindows & operator=(const HostThreadWindows &)=delete
HostThreadWindows(const HostThreadWindows &)=delete
bool EqualsThread(lldb::thread_t thread) const override
An error handling class.
Definition: Status.h:44
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
void * thread_result_t
Definition: lldb-types.h:62
pthread_t thread_t
Definition: lldb-types.h:58
uint64_t tid_t
Definition: lldb-types.h:82