[all-commits] [llvm/llvm-project] 9be719: [lldb] Improving synchronization of MainLoopWindow...

John Harrison via All-commits all-commits at lists.llvm.org
Tue Jul 8 13:35:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9be7194aa5c01df6241580199ab494314d5b41f3
      https://github.com/llvm/llvm-project/commit/9be7194aa5c01df6241580199ab494314d5b41f3
  Author: John Harrison <harjohn at google.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M lldb/source/Host/windows/MainLoopWindows.cpp
    M lldb/unittests/Host/MainLoopTest.cpp

  Log Message:
  -----------
  [lldb] Improving synchronization of MainLoopWindows. (#147438)

This should improve synchronizing the MainLoopWindows monitor thread
with the main loop state.

This uses the `m_ready` and `m_event` event handles to manage when the
Monitor thread continues and adds new tests to cover additional use
cases.

I believe this should fix #147291 but it is hard to ensure a race
condition is fixed without running the CI on multiple
machines/configurations.

---------

Co-authored-by: Pavel Labath <pavel at labath.sk>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list