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 
16 namespace lldb_private {
17 
19  DISALLOW_COPY_AND_ASSIGN(HostThreadWindows);
20 
21 public:
24  virtual ~HostThreadWindows();
25 
26  void SetOwnsHandle(bool owns);
27 
28  virtual Status Join(lldb::thread_result_t *result);
29  virtual Status Cancel();
30  virtual void Reset();
31  virtual bool EqualsThread(lldb::thread_t thread) const;
32 
33  lldb::tid_t GetThreadId() const;
34 
35 private:
36  bool m_owns_handle;
37 };
38 }
39 
40 #endif
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14
virtual Status Join(lldb::thread_result_t *result)
uint64_t tid_t
Definition: lldb-types.h:86
pthread_t thread_t
Definition: lldb-types.h:58
virtual bool EqualsThread(lldb::thread_t thread) const
An error handling class.
Definition: Status.h:44
void * thread_result_t
Definition: lldb-types.h:62