summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp')
-rw-r--r--lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp b/lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp
index 30d129ebbe0..72cf1474a78 100644
--- a/lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp
+++ b/lldb/tools/lldb-mi/MIUtilThreadBaseStd.cpp
@@ -14,7 +14,6 @@
#include "MIUtilThreadBaseStd.h"
//++
-//------------------------------------------------------------------------------------
// Details: Constructor.
// Type: None.
// Args: None.
@@ -25,7 +24,6 @@ CMIUtilThreadActiveObjBase::CMIUtilThreadActiveObjBase()
: m_references(0), m_bHasBeenKilled(false) {}
//++
-//------------------------------------------------------------------------------------
// Details: Destructor.
// Type: None.
// Args: None.
@@ -38,7 +36,6 @@ CMIUtilThreadActiveObjBase::~CMIUtilThreadActiveObjBase() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Check if an object is already running.
// Type: Method.
// Args: None.
@@ -52,7 +49,6 @@ bool CMIUtilThreadActiveObjBase::ThreadIsActive() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Set up *this thread.
// Type: Method.
// Args: None.
@@ -66,7 +62,6 @@ bool CMIUtilThreadActiveObjBase::ThreadExecute() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Acquire a reference to CMIUtilThreadActiveObjBase.
// Type: Method.
// Args: None.
@@ -85,7 +80,6 @@ bool CMIUtilThreadActiveObjBase::Acquire() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Release a reference to CMIUtilThreadActiveObjBase.
// Type: Method.
// Args: None.
@@ -104,7 +98,6 @@ bool CMIUtilThreadActiveObjBase::Release() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Force this thread to stop, regardless of references
// Type: Method.
// Args: None.
@@ -123,7 +116,6 @@ bool CMIUtilThreadActiveObjBase::ThreadKill() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Proxy to thread join.
// Type: Method.
// Args: None.
@@ -134,7 +126,6 @@ bool CMIUtilThreadActiveObjBase::ThreadKill() {
bool CMIUtilThreadActiveObjBase::ThreadJoin() { return m_thread.Join(); }
//++
-//------------------------------------------------------------------------------------
// Details: This function is the entry point of this object thread.
// It is a trampoline to an instances operation manager.
// Type: Static method.
@@ -158,7 +149,6 @@ MIuint CMIUtilThreadActiveObjBase::ThreadEntry(void *vpThisClass) {
}
//++
-//------------------------------------------------------------------------------------
// Details: This function forms a small management routine, to handle the
// thread's running.
// Type: Method.
@@ -196,15 +186,11 @@ void CMIUtilThreadActiveObjBase::ThreadManage() {
m_thread.Finish();
}
-//---------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------
//
CMIUtilThread::CMIUtilThread() : m_pThread(nullptr), m_bIsActive(false) {}
//++
-//------------------------------------------------------------------------------------
// Details: CMIUtilThread destructor.
// Type: Method.
// Args: None.
@@ -214,7 +200,6 @@ CMIUtilThread::CMIUtilThread() : m_pThread(nullptr), m_bIsActive(false) {}
CMIUtilThread::~CMIUtilThread() { Join(); }
//++
-//------------------------------------------------------------------------------------
// Details: Wait for thread to stop.
// Type: Method.
// Args: None.
@@ -239,7 +224,6 @@ bool CMIUtilThread::Join() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Is the thread doing work.
// Type: Method.
// Args: None.
@@ -253,7 +237,6 @@ bool CMIUtilThread::IsActive() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Finish this thread
// Type: Method.
// Args: None.
@@ -267,7 +250,6 @@ void CMIUtilThread::Finish() {
}
//++
-//------------------------------------------------------------------------------------
// Details: Set up *this thread.
// Type: Method.
// Args: vpFn (R) - Function pointer to thread's main function.
@@ -290,12 +272,8 @@ bool CMIUtilThread::Start(FnThreadProc vpFn, void *vpArg) {
return MIstatus::success;
}
-//---------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------
//++
-//------------------------------------------------------------------------------------
// Details: Take resource.
// Type: Method.
// Args: None.
@@ -305,7 +283,6 @@ bool CMIUtilThread::Start(FnThreadProc vpFn, void *vpArg) {
void CMIUtilThreadMutex::Lock() { m_mutex.lock(); }
//++
-//------------------------------------------------------------------------------------
// Details: Release resource.
// Type: Method.
// Args: None.
@@ -315,7 +292,6 @@ void CMIUtilThreadMutex::Lock() { m_mutex.lock(); }
void CMIUtilThreadMutex::Unlock() { m_mutex.unlock(); }
//++
-//------------------------------------------------------------------------------------
// Details: Take resource if available. Immediately return in either case.
// Type: Method.
// Args: None.
OpenPOWER on IntegriCloud