folly::TLPDestructionMode

Selects which threads' thread-local instances are destroyed.

Synopsis

Declared in <folly/detail/ThreadLocalDetail.h>

enum class TLPDestructionMode : int;

Members

NameDescription
THIS_THREAD Destroy only the current thread's instance.
ALL_THREADS Destroy instances across all threads.