GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros
tls_gcc.h File Reference

Go to the source code of this file.

Data Structures

struct  gpr_gcc_thread_local
 

Macros

#define GPR_TLS_DECL(name)   static __thread struct gpr_gcc_thread_local name = {0}
 
#define gpr_tls_init(tls)
 
#define gpr_tls_destroy(tls)
 
#define gpr_tls_set(tls, new_value)   (((tls)->value) = (new_value))
 
#define gpr_tls_get(tls)   ((tls)->value)
 

Macro Definition Documentation

#define GPR_TLS_DECL (   name)    static __thread struct gpr_gcc_thread_local name = {0}
#define gpr_tls_destroy (   tls)
Value:
do { \
} while (0)
#define gpr_tls_get (   tls)    ((tls)->value)
#define gpr_tls_init (   tls)
Value:
do { \
} while (0)
#define gpr_tls_set (   tls,
  new_value 
)    (((tls)->value) = (new_value))