LogCabin
|
#include <cinttypes>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | LogCabin |
namespace | LogCabin::Core |
namespace | LogCabin::Core::ThreadId |
Provides a convenient way to get identifiers for threads. | |
Functions | |
uint64_t | LogCabin::Core::ThreadId::getId () |
Return a unique identifier associated with this thread. | |
void | LogCabin::Core::ThreadId::setName (const std::string &name) |
Set the friendly name for the current thread. | |
std::string | LogCabin::Core::ThreadId::getName () |
Get the friendly name for the current thread. | |
Variables | |
const uint64_t | LogCabin::Core::ThreadId::NONE |
A thread ID that will never be assigned to any thread. |