[lldb/Debugger] Rename ExecuteIOHandlers to RunIOHandlers (NFC)

This improves consistency among the related methods.
This commit is contained in:
Jonas Devlieghere 2020-01-16 16:45:18 -08:00
parent 8ef57f3e3f
commit 2671df9bd6
3 changed files with 4 additions and 4 deletions

View File

@ -309,7 +309,7 @@ public:
bool LoadPlugin(const FileSpec &spec, Status &error);
void ExecuteIOHandlers();
void RunIOHandlers();
bool IsForwardingEvents();

View File

@ -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 {};
}

View File

@ -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();