Page MenuHomePhabricator

[backport#16034] Move LockAnnotation from threadsafety.h (imported code) to sync.h (our code)

Authored by majcosta on May 26 2020, 20:06.



Move LockAnnotation to make it reflect the truth

Make sure the compile-time locking promises given via LockAnnotation:s hold also in practice at runtime (ifdef DEBUG_LOCKORDER)

Depends on D6259

Partial backport of Core PR16034

Test Plan
ninja check-all

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

majcosta edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.May 27 2020, 11:49