Classes | Namespaces | Macros | Typedefs | Functions
thread_identity.h File Reference
#include <pthread.h>
#include <unistd.h>
#include <atomic>
#include <cstdint>
#include "absl/base/internal/per_thread_tls.h"
Include dependency graph for thread_identity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  absl::base_internal::PerThreadSynch
 
struct  absl::base_internal::ThreadIdentity
 
struct  absl::base_internal::ThreadIdentity::WaiterState
 

Namespaces

 absl
 
 absl::base_internal
 

Macros

#define ABSL_THREAD_IDENTITY_MODE   ABSL_THREAD_IDENTITY_MODE_USE_POSIX_SETSPECIFIC
 
#define ABSL_THREAD_IDENTITY_MODE_USE_CPP11   2
 
#define ABSL_THREAD_IDENTITY_MODE_USE_POSIX_SETSPECIFIC   0
 
#define ABSL_THREAD_IDENTITY_MODE_USE_TLS   1
 

Typedefs

using absl::base_internal::ThreadIdentityReclaimerFunction = void(*)(void *)
 

Functions

void absl::base_internal::ClearCurrentThreadIdentity ()
 
ThreadIdentity * absl::base_internal::CurrentThreadIdentityIfPresent ()
 
void absl::base_internal::SetCurrentThreadIdentity (ThreadIdentity *identity, ThreadIdentityReclaimerFunction reclaimer)
 

Macro Definition Documentation

◆ ABSL_THREAD_IDENTITY_MODE

#define ABSL_THREAD_IDENTITY_MODE   ABSL_THREAD_IDENTITY_MODE_USE_POSIX_SETSPECIFIC

Definition at line 220 of file thread_identity.h.

◆ ABSL_THREAD_IDENTITY_MODE_USE_CPP11

#define ABSL_THREAD_IDENTITY_MODE_USE_CPP11   2

Definition at line 204 of file thread_identity.h.

◆ ABSL_THREAD_IDENTITY_MODE_USE_POSIX_SETSPECIFIC

#define ABSL_THREAD_IDENTITY_MODE_USE_POSIX_SETSPECIFIC   0

Definition at line 192 of file thread_identity.h.

◆ ABSL_THREAD_IDENTITY_MODE_USE_TLS

#define ABSL_THREAD_IDENTITY_MODE_USE_TLS   1

Definition at line 198 of file thread_identity.h.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22