![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <util/string.h>#include <util/threadnames.h>#include <mutex>#include <set>#include <string>#include <thread>#include <vector>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| std::set< std::string > | RenameEnMasse (int num_threads) |
| Run a bunch of threads to all call util::ThreadRename. More... | |
| BOOST_AUTO_TEST_CASE (util_threadnames_test_rename_threaded) | |
| Rename a bunch of threads with the same basename (expect_multiple=true), ensuring suffixes are applied properly. More... | |
Variables | |
| const std::string | TEST_THREAD_NAME_BASE = "test_thread." |
| BOOST_AUTO_TEST_CASE | ( | util_threadnames_test_rename_threaded | ) |
Rename a bunch of threads with the same basename (expect_multiple=true), ensuring suffixes are applied properly.
Definition at line 54 of file util_threadnames_tests.cpp.
| std::set< std::string > RenameEnMasse | ( | int | num_threads | ) |
Run a bunch of threads to all call util::ThreadRename.
Definition at line 29 of file util_threadnames_tests.cpp.
| const std::string TEST_THREAD_NAME_BASE = "test_thread." |
Definition at line 22 of file util_threadnames_tests.cpp.