forked from Bitcoin-ABC/bitcoin-abc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add local thread pool to CCheckQueue
Backport of bitcoin/bitcoin#18710 PR message: This PR: gets rid of boost::thread_group in the CCheckQueue class allows thread safety annotation usage in the CCheckQueue class is alternative to #14464 (#18710 (comment), #18710 (comment)) Also, with this PR (I hope) it could be easier to resurrect a bunch of brilliant ideas from #9938. Related: #17307 Squashed commits: 0ef938685b5c079a6f5a98daf0e3865d718d817b refactor: Use member initializers in CCheckQueue 01511776acb0c7ec216dc9c8112531067763f1cb Add local thread pool to CCheckQueue dba30695fc42f45828db008e7e5b81cb2b5d8551 test: Use CCheckQueue local thread pool 6784ac471bb32b6bb8e2de60986f123eb4990706 bench: Use CCheckQueue local thread pool bb6fcc75d1ec94b733d1477c816351c50be5faf9 refactor: Drop boost::thread stuff in CCheckQueue Also in this commit: Slight modification to our custom CCheckQueue_32MB benchmark to use the new API. Signed-off-by: Calin Culianu <calin.culianu@gmail.com>
- Loading branch information
Showing
9 changed files
with
100 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.