Fix potential deadlock detection for RecursiveMutex #19642

pull hebasto wants to merge 2 commits into bitcoin:master from hebasto:200802-rmut changing 2 files +28 −2
  1. hebasto commented at 2:33 PM on August 2, 2020: member

    Early exit from the loop with the break statement does not work properly for RecursiveMutex.

    Please note that the improved potential_deadlock_detected unit test fails without the first commit.

  2. Fix deadlock detection for RecursiveMutex 7432b1a288
  3. test: Add TestPotentialDeadLockDetectedRecursiveMutex() c0d376c474
  4. hebasto renamed this:
    Fix deadlock detection for RecursiveMutex
    Fix potential deadlock detection for RecursiveMutex
    on Aug 2, 2020
  5. DrahtBot added the label Tests on Aug 2, 2020
  6. hebasto commented at 3:28 PM on August 2, 2020: member

    Seeking for Concept (N)ACKs.

  7. maflcko commented at 7:16 PM on August 2, 2020: member

    How could this lead to an observable deadlock?

  8. hebasto closed this on Aug 2, 2020

  9. bitcoin locked this on Feb 15, 2022
  10. hebasto deleted the branch on Dec 4, 2023
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me