Back to index

glibc  2.9
Defines
libc-tsd.h File Reference
#include <hurd/threadvar.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __libc_tsd_define(CLASS, TYPE, KEY)   /* nothing, always have threadvars */
#define __libc_tsd_address(TYPE, KEY)   ((TYPE *) __hurd_threadvar_location (_HURD_THREADVAR_##KEY))
#define __libc_tsd_get(TYPE, KEY)   (*__libc_tsd_address (TYPE, KEY))
#define __libc_tsd_set(TYPE, KEY, VALUE)   (*__libc_tsd_address (TYPE, KEY) = (VALUE))

Define Documentation

#define __libc_tsd_address (   TYPE,
  KEY 
)    ((TYPE *) __hurd_threadvar_location (_HURD_THREADVAR_##KEY))

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

#define __libc_tsd_define (   CLASS,
  TYPE,
  KEY 
)    /* nothing, always have threadvars */

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

#define __libc_tsd_get (   TYPE,
  KEY 
)    (*__libc_tsd_address (TYPE, KEY))

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

#define __libc_tsd_set (   TYPE,
  KEY,
  VALUE 
)    (*__libc_tsd_address (TYPE, KEY) = (VALUE))

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