Back to index

glibc  2.9
Defines
libc-tsd.h File Reference
#include <tls.h>

Go to the source code of this file.

Defines

#define __libc_tsd_define(CLASS, TYPE, KEY)   CLASS TYPE __libc_tsd_##KEY##_data;
#define __libc_tsd_address(TYPE, KEY)   (&__libc_tsd_##KEY##_data)
#define __libc_tsd_get(TYPE, KEY)   (__libc_tsd_##KEY##_data)
#define __libc_tsd_set(TYPE, KEY, VALUE)   (__libc_tsd_##KEY##_data = (VALUE))

Define Documentation

#define __libc_tsd_address (   TYPE,
  KEY 
)    (&__libc_tsd_##KEY##_data)

Definition at line 65 of file libc-tsd.h.

#define __libc_tsd_define (   CLASS,
  TYPE,
  KEY 
)    CLASS TYPE __libc_tsd_##KEY##_data;

Definition at line 62 of file libc-tsd.h.

#define __libc_tsd_get (   TYPE,
  KEY 
)    (__libc_tsd_##KEY##_data)

Definition at line 66 of file libc-tsd.h.

#define __libc_tsd_set (   TYPE,
  KEY,
  VALUE 
)    (__libc_tsd_##KEY##_data = (VALUE))

Definition at line 67 of file libc-tsd.h.