The locking was added in a previous pull request during the review phase, but the reason for this lock was later removed during the same review.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rABC8a397ebe7887: [backport#16793]refactor: Avoid locking cs_main in ProcessNewBlockHeaders
cmake .. -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug ninja all ckeck-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.
Comment Actions
Can you make sure you compile this with clang and check for warning. Also a run with ENABLE_DEBUG would be good.
Comment Actions
I meant DEBUG_LOCKORDER
Running the executable with the -debug fag doesn't achieve anything to test this.
Comment Actions
The developer notes mentions that -DCMAKE_BUILD_TYPE=Debug adds -DDEBUG_LOCKORDER to the compiler flags.
I haven't been able to add it any other way (-DDEBUG_LOCKORDER=TRUE/ON/true/1 all yield Manually-specified variables were not used by the project: DEBUG_LOCKORDER)