Repository navigation
refactor: Remove stray cs_main redundant declaration - #26965
Hidden character warning
Conversation
All places that include sync.h will likely need threadsafety annotations, so export them.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
fa00cac to
faba08b
Compare
|
Concept ACK. |
hebasto
left a comment
There was a problem hiding this comment.
ACK faba08b
Also, there is a commit to export threadsafety.h from sync.h.
I'm not sure about that because thread safety annotations are mostly used in headers, and sync.h can be needed to be included in source files only. For example, without that commit, node/utxo_snapshot.h needs a replacement s/#include <sync.h>/#include <threadsafety.h>/.
No? If the header uses a |
For example, |
|
Well, I meant The point is that you can't compile |
It is job of
Agree. Probably the use case of |
|
I think the only counter example (something that doesn't need Line 10 in d4c180e Though, I am not changing that in this pull. |
|
cc @fanquake |
Looks like this was forgotten when introducing kernel/cs_main ?
Also, there is a commit to export threadsafety.h from sync.h.