mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 09:02:32 +02:00
Merge #16117: util: Replace boost sleep with std sleep
fae86c38bc
util: Remove unused MilliSleep (MarcoFalke)fa9af06d91
scripted-diff: Replace MilliSleep with UninterruptibleSleep (MarcoFalke)fa4620be78
util: Add UnintrruptibleSleep (MarcoFalke) Pull request description: We don't use the interruptible feature of boost's sleep anywhere, so replace it with the sleep in `std::thread` ACKs for top commit: ajtowns: ACKfae86c38bc
quick code review practicalswift: ACKfae86c38bc
-- patch looks correct sipa: Concept and code review ACKfae86c38bc
fanquake: ACKfae86c38bc
- note that an instance of `DHAVE_WORKING_BOOST_SLEEP_FOR` was missed in the [linter](https://github.com/bitcoin/bitcoin/blob/master/test/lint/extended-lint-cppcheck.sh#L69), but that can be cleaned up later. Tree-SHA512: 7c0f8eb197664b9f7d9fe6c472c77d384f11c797c913afc31de4b532e3b4fd9ea6dd174f92062ff9d1ec39b25e0900ca7c597435add87f0f2477d9557204848c
This commit is contained in:
@@ -258,12 +258,6 @@
|
||||
/* Define if the visibility attribute is supported. */
|
||||
#define HAVE_VISIBILITY_ATTRIBUTE 1
|
||||
|
||||
/* Define this symbol if boost sleep works */
|
||||
/* #undef HAVE_WORKING_BOOST_SLEEP */
|
||||
|
||||
/* Define this symbol if boost sleep_for works */
|
||||
#define HAVE_WORKING_BOOST_SLEEP_FOR 1
|
||||
|
||||
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
||||
#define LT_OBJDIR ".libs/"
|
||||
|
||||
|
Reference in New Issue
Block a user