aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/HostThread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/HostThread.h')
-rw-r--r--include/lldb/Host/HostThread.h42
1 files changed, 20 insertions, 22 deletions
diff --git a/include/lldb/Host/HostThread.h b/include/lldb/Host/HostThread.h
index 9fdf9f9618b5..d14f0f6c638c 100644
--- a/include/lldb/Host/HostThread.h
+++ b/include/lldb/Host/HostThread.h
@@ -16,8 +16,7 @@
#include <memory>
-namespace lldb_private
-{
+namespace lldb_private {
class HostNativeThreadBase;
@@ -30,26 +29,25 @@ class HostNativeThreadBase;
/// machine.
///
//----------------------------------------------------------------------
-class HostThread
-{
- public:
- HostThread();
- HostThread(lldb::thread_t thread);
-
- Error Join(lldb::thread_result_t *result);
- Error Cancel();
- void Reset();
- lldb::thread_t Release();
-
- bool IsJoinable() const;
- HostNativeThread &GetNativeThread();
- const HostNativeThread &GetNativeThread() const;
- lldb::thread_result_t GetResult() const;
-
- bool EqualsThread(lldb::thread_t thread) const;
-
- private:
- std::shared_ptr<HostNativeThreadBase> m_native_thread;
+class HostThread {
+public:
+ HostThread();
+ HostThread(lldb::thread_t thread);
+
+ Error Join(lldb::thread_result_t *result);
+ Error Cancel();
+ void Reset();
+ lldb::thread_t Release();
+
+ bool IsJoinable() const;
+ HostNativeThread &GetNativeThread();
+ const HostNativeThread &GetNativeThread() const;
+ lldb::thread_result_t GetResult() const;
+
+ bool EqualsThread(lldb::thread_t thread) const;
+
+private:
+ std::shared_ptr<HostNativeThreadBase> m_native_thread;
};
}