1#include <xrpl/beast/core/CurrentThreadName.h> 
    2#include <xrpl/beast/unit_test.h> 
   28        if (!initialThreadName.empty())
 
 
   57        while (stateA == 0 || stateB == 0)
 
   65        BEAST_EXPECT(stateA == 2);
 
   66        BEAST_EXPECT(stateB == 2);
 
 
 
static void exerciseName(std::string myName, std::atomic< bool > *stop, std::atomic< int > *state)
 
void run() override
Runs the suite.
 
void setCurrentThreadName(std::string_view newThreadName)
Changes the name of the caller thread.
 
std::string getCurrentThreadName()
Returns the name of the caller thread.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.