util: move threadinterrupt into util/ #26292
pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:move_thread_interrupt_util changing 15 files +18 −16-
fanquake commented at 7:42 am on October 11, 2022: memberAlongside thread and threadnames. It’s part of libbitcoin_util.
-
DrahtBot added the label Utils/log/libs on Oct 11, 2022
-
DrahtBot commented at 5:28 pm on October 11, 2022: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #24230 (indexes: Stop using node internal types and locking cs_main, improve sync logic by ryanofsky)
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.
-
theuni commented at 6:17 pm on October 11, 2022: memberConcept ACK. To make it more obvious to reviewers, it might be a good time to update the comments in
Makefile.am
to reflect what @ryanofsky said here and here. -
in src/i2p.h:13 in 7b2d0b0811 outdated
8@@ -9,8 +9,8 @@ 9 #include <fs.h> 10 #include <netaddress.h> 11 #include <sync.h> 12-#include <threadinterrupt.h> 13 #include <util/sock.h> 14+#include <util/threadinterrupt.h>
Empact commented at 8:52 pm on October 11, 2022:nit: Could replace withclass CThreadInterrupt;
in src/util/sock.h:9 in 7b2d0b0811 outdated
5@@ -6,7 +6,7 @@ 6 #define BITCOIN_UTIL_SOCK_H 7 8 #include <compat/compat.h> 9-#include <threadinterrupt.h> 10+#include <util/threadinterrupt.h>
Empact commented at 3:56 pm on October 12, 2022:nit: Could replace withclass CThreadInterrupt;
ryanofsky approvedryanofsky commented at 5:09 pm on October 12, 2022: contributorCode review ACK 7b2d0b0811b0faf7f09a119354a22ecfd869720bin src/Makefile.am:944 in 7b2d0b0811 outdated
940@@ -942,6 +941,7 @@ libbitcoinkernel_la_SOURCES = \ 941 util/syserror.cpp \ 942 util/system.cpp \ 943 util/thread.cpp \ 944+ util/threadinterrupt.cpp \
hebasto commented at 6:00 pm on October 12, 2022:Is it really required in
libbitcoinkernel
?I’ve managed to
./configure --with-experimental-kernel-lib --enable-experimental-util-chainstate && make
flawlessly without this source file.
fanquake commented at 9:10 am on October 14, 2022: memberTo make it more obvious to reviewers, it might be a good time to update the comments in Makefile.am to reflect what ryanofsky said #26196#pullrequestreview-1130117250 and #26196 (comment).
Rather than adding more duplicate commentary there, I’ve opened #26313 to drop those comments, in favour of doc/libraries.md, which is much more comprehensive.
maflcko referenced this in commit ba441d493c on Oct 18, 2022fanquake force-pushed on Oct 21, 2022ryanofsky approvedryanofsky commented at 5:43 pm on October 31, 2022: contributorCode review ACK bd799386882a75bfe6032a5cf53cf1a15b29b7fbfanquake referenced this in commit c041d8f2c9 on Nov 1, 2022util: move threadinterrupt into util b89530483dfanquake force-pushed on Nov 1, 2022ryanofsky approvedryanofsky commented at 3:12 pm on November 1, 2022: contributorCode review ACK b89530483d39f6a6a777df590b87ba2fad8c8b60. No changes since last review other than rebasesidhujag referenced this in commit b6455439bc on Nov 1, 2022theuni approvedtheuni commented at 8:17 pm on November 2, 2022: memberACK b89530483d39f6a6a777df590b87ba2fad8c8b60.
No objection, but why the added includes (i2p.cpp for ex) where the matching header already pulls it in?
fanquake merged this on Nov 22, 2022fanquake closed this on Nov 22, 2022
fanquake deleted the branch on Nov 22, 2022sidhujag referenced this in commit 616f8589d2 on Nov 22, 2022bitcoin locked this on Nov 22, 2023
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: 2024-11-21 09:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me