Functions | |
| std::string | getThreadName (uint64_t threadId) |
| Gets the name of a thread given its ID. | |
| void | setThreadName (uint64_t threadId, const std::string &threadName) |
| Sets the name of a thread given its ID. | |
| std::string | getCurrentThreadName () |
| Gets the name of the current thread. | |
| void | setName4CurrentThread (const std::string &threadName) |
| Sets the name of the current thread. | |
| uint64_t | getCurrentThreadId () |
| Gets the ID of the current thread. | |
| uint64_t SystemTools::Thread::getCurrentThreadId | ( | ) |
Gets the ID of the current thread.
| std::string SystemTools::Thread::getCurrentThreadName | ( | ) |
Gets the name of the current thread.
| std::string SystemTools::Thread::getThreadName | ( | uint64_t | threadId | ) |
Gets the name of a thread given its ID.
| threadId | The thread ID. |
| void SystemTools::Thread::setName4CurrentThread | ( | const std::string & | threadName | ) |
Sets the name of the current thread.
| threadName | The name to set for the current thread. |
| void SystemTools::Thread::setThreadName | ( | uint64_t | threadId, |
| const std::string & | threadName | ||
| ) |
Sets the name of a thread given its ID.
| threadId | The thread ID. |
| threadName | The name to set for the thread. |