proxygen
ThreadName.h File Reference
#include <string>
#include <thread>
#include <folly/Optional.h>
#include <folly/Range.h>
#include <folly/portability/Config.h>
#include <folly/portability/PThread.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)