refactor: Drop unused `UniqueLock(Mutex*, ...)` constructor in sync.h #19913

pull hebasto wants to merge 2 commits into bitcoin:master from hebasto:200907-sync changing 1 files +6 −17
  1. hebasto commented at 10:00 PM on September 7, 2020: member

    Dropped unused UniqueLock(Mutex*, ...) constructor that accepts a pointer to a mutex.

    Also minor naming, comments and style improvements.

  2. sync: Drop unused UniqueLock(Mutex*, ...) constructor 51269d198e
  3. sync: Improve naming, comments, style bd77449604
  4. fanquake added the label Refactoring on Sep 7, 2020
  5. Maza1374 changes_requested
  6. Maza1374 commented at 3:15 AM on September 8, 2020: none

    .

  7. Maza1374 approved
  8. MarcoFalke commented at 5:48 AM on September 8, 2020: member

    This is useful when using a pointer as an optional alias to a mutex, no?

  9. hebasto commented at 6:59 AM on September 8, 2020: member

    This is useful when using a pointer as an optional alias to a mutex, no?

    Correct. I'm using such aliases in my own experimental branches :facepalm:

    Note to myself: add tests for this constructor.

  10. hebasto closed this on Sep 8, 2020

  11. DrahtBot locked this on Feb 15, 2022

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-22 06:14 UTC

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