[all-commits] [llvm/llvm-project] 87f2c2: [lldb] Unify WaitForSetEvents and WaitForEventsToR...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jul 23 09:06:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87f2c25f3dad65890fc8e9abbe9765e44979ed9d
      https://github.com/llvm/llvm-project/commit/87f2c25f3dad65890fc8e9abbe9765e44979ed9d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M lldb/tools/debugserver/source/PThreadEvent.cpp
    M lldb/tools/debugserver/source/PThreadEvent.h

  Log Message:
  -----------
  [lldb] Unify WaitForSetEvents and WaitForEventsToReset (#99997)

Unify the implementations of WaitForSetEvents and WaitForEventsToReset.
The former deals with the possibility of a race between the timeout and
the predicate while the latter does not. The functions were also
inconsistent in when they would recompute the mask. This patch unifies
the two implementations and make them behave exactly the same modulo the
predicate.

rdar://130562344



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