policy: Add Clang thread safety annotations for variables guarded by cs_feeEstimator#13128
Conversation
827c868 to
6911fad
Compare
|
@MarcoFalke Good idea. Renamed from |
6911fad to
a4d815d
Compare
| The last travis run for this pull request was 69 days ago and is thus outdated. To trigger a fresh travis build, this pull request should be closed and re-opened. |
|
@MarcoFalke Would you mind re-review this locking PR you looked at before? :-) |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
82c3218 to
a3909b6
Compare
|
@Empact @MarcoFalke Updated. Would you mind re-reviewing? The current version is annotations only, so no change in locking. In other words: this PR changes only compile-time checking and no runtime behaviour. Should hence hopefully be trivial to review :-) |
|
utACK 1a01e1c120809b19ddc9c9c6ee5d6686a90f55b3 |
-BEGIN VERIFY SCRIPT- sed -i 's/cs_feeEstimator/m_cs_fee_estimator/' src/policy/fees.cpp src/policy/fees.h -END VERIFY SCRIPT-
fed8d5e to
764e42f
Compare
8b40977 to
dae1423
Compare
|
Any chance of getting this reviewed? It is a compile time check only :-) |
…es guarded by cs_feeEstimator dae1423 Add locking annotations to feeStats, shortStats and longStats (practicalswift) 764e42f scripted-diff: Rename from cs_feeEstimator to m_cs_fee_estimator (practicalswift) 9a789d4 policy: Add Clang thread safety annotations for variables guarded by cs_feeEstimator (practicalswift) Pull request description: * Add Clang thread safety annotations for variables guarded by `cs_feeEstimator` * ~~Add missing `cs_feeEstimator` locks~~ Tree-SHA512: 24b1d876ad53524ee8989b9658ac1a1b2766ebb3b27a1f84601d207e74d090e33738b814afac2a1f5bcd37565abcb361c6e5adae212840ff1ca32c3c42953391
|
Adding The errors were spurious, since Just wanted to note this because some people were curious about it. I thought it was interesting because:
|
…variables guarded by cs_feeEstimator dae1423 Add locking annotations to feeStats, shortStats and longStats (practicalswift) 764e42f scripted-diff: Rename from cs_feeEstimator to m_cs_fee_estimator (practicalswift) 9a789d4 policy: Add Clang thread safety annotations for variables guarded by cs_feeEstimator (practicalswift) Pull request description: * Add Clang thread safety annotations for variables guarded by `cs_feeEstimator` * ~~Add missing `cs_feeEstimator` locks~~ Tree-SHA512: 24b1d876ad53524ee8989b9658ac1a1b2766ebb3b27a1f84601d207e74d090e33738b814afac2a1f5bcd37565abcb361c6e5adae212840ff1ca32c3c42953391
cs_feeEstimatorAdd missingcs_feeEstimatorlocks