Changeset View
Changeset View
Standalone View
Standalone View
include/lldb/Core/Communication.h
Context not available. | |||||
protected: | protected: | ||||
lldb::ConnectionSP m_connection_sp; ///< The connection that is current in use by this communications class. | lldb::ConnectionSP m_connection_sp; ///< The connection that is current in use by this communications class. | ||||
HostThread m_read_thread; ///< The read thread handle in case we need to cancel the thread. | HostThread m_read_thread; ///< The read thread handle in case we need to cancel the thread. | ||||
bool m_read_thread_enabled; | std::atomic<bool> m_read_thread_enabled; | ||||
std::string m_bytes; ///< A buffer to cache bytes read in the ReadThread function. | std::string m_bytes; ///< A buffer to cache bytes read in the ReadThread function. | ||||
Mutex m_bytes_mutex; ///< A mutex to protect multi-threaded access to the cached bytes. | Mutex m_bytes_mutex; ///< A mutex to protect multi-threaded access to the cached bytes. | ||||
Mutex m_write_mutex; ///< Don't let multiple threads write at the same time... | Mutex m_write_mutex; ///< Don't let multiple threads write at the same time... | ||||
Context not available. |