mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Missing files for previous checkin that fixed: "script help (lldb.SBThread)" output stops after 2048 bytes are printed.
<rdar://problem/15942977> llvm-svn: 200478
This commit is contained in:
@@ -286,6 +286,8 @@ public:
|
||||
virtual bool
|
||||
StopReadThread (Error *error_ptr = NULL);
|
||||
|
||||
virtual bool
|
||||
JoinReadThread (Error *error_ptr = NULL);
|
||||
//------------------------------------------------------------------
|
||||
/// Checks if there is a currently running read thread.
|
||||
///
|
||||
|
||||
@@ -269,6 +269,16 @@ Communication::StopReadThread (Error *error_ptr)
|
||||
return status;
|
||||
}
|
||||
|
||||
bool
|
||||
Communication::JoinReadThread (Error *error_ptr)
|
||||
{
|
||||
if (!IS_VALID_LLDB_HOST_THREAD(m_read_thread))
|
||||
return true;
|
||||
|
||||
bool success = Host::ThreadJoin (m_read_thread, NULL, error_ptr);
|
||||
m_read_thread = LLDB_INVALID_HOST_THREAD;
|
||||
return success;
|
||||
}
|
||||
|
||||
size_t
|
||||
Communication::GetCachedBytes (void *dst, size_t dst_len)
|
||||
|
||||
Reference in New Issue
Block a user