forked from OSchip/llvm-project
[lldb/Debugger] Rename ExecuteIOHandlers to RunIOHandlers (NFC)
This improves consistency among the related methods.
This commit is contained in:
parent
8ef57f3e3f
commit
2671df9bd6
|
@ -309,7 +309,7 @@ public:
|
|||
|
||||
bool LoadPlugin(const FileSpec &spec, Status &error);
|
||||
|
||||
void ExecuteIOHandlers();
|
||||
void RunIOHandlers();
|
||||
|
||||
bool IsForwardingEvents();
|
||||
|
||||
|
|
|
@ -894,7 +894,7 @@ void Debugger::ClearIOHandlers() {
|
|||
}
|
||||
}
|
||||
|
||||
void Debugger::ExecuteIOHandlers() {
|
||||
void Debugger::RunIOHandlers() {
|
||||
while (true) {
|
||||
IOHandlerSP reader_sp(m_io_handler_stack.Top());
|
||||
if (!reader_sp)
|
||||
|
@ -1551,7 +1551,7 @@ void Debugger::StopEventHandlerThread() {
|
|||
|
||||
lldb::thread_result_t Debugger::IOHandlerThread(lldb::thread_arg_t arg) {
|
||||
Debugger *debugger = (Debugger *)arg;
|
||||
debugger->ExecuteIOHandlers();
|
||||
debugger->RunIOHandlers();
|
||||
debugger->StopEventHandlerThread();
|
||||
return {};
|
||||
}
|
||||
|
|
|
@ -2943,7 +2943,7 @@ void CommandInterpreter::RunCommandInterpreter(
|
|||
if (spawn_thread) {
|
||||
m_debugger.StartIOHandlerThread();
|
||||
} else {
|
||||
m_debugger.ExecuteIOHandlers();
|
||||
m_debugger.RunIOHandlers();
|
||||
|
||||
if (auto_handle_events)
|
||||
m_debugger.StopEventHandlerThread();
|
||||
|
|
Loading…
Reference in New Issue