proxygen
ThreadName.cpp File Reference
#include <folly/system/ThreadName.h>
#include <type_traits>
#include <folly/Portability.h>
#include <folly/Traits.h>
#include <folly/portability/PThread.h>
#include <folly/portability/Windows.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

bool folly::canSetCurrentThreadName ()
 
bool folly::canSetOtherThreadName ()
 
Optional< std::stringfolly::getThreadName (std::thread::id id)
 
Optional< std::stringfolly::getCurrentThreadName ()
 
bool folly::setThreadName (std::thread::id tid, StringPiece name)
 
bool folly::setThreadName (pthread_t pid, StringPiece name)
 
bool folly::setThreadName (StringPiece name)
 

Variables

static constexpr size_t folly::kMaxThreadNameLength = 16