Back to index

glibc  2.9
Defines | Typedefs
libc-lock.h File Reference

Go to the source code of this file.

Defines

#define __libc_lock_define(CLASS, NAME)
#define __libc_lock_define_recursive(CLASS, NAME)
#define __rtld_lock_define_recursive(CLASS, NAME)
#define __libc_rwlock_define(CLASS, NAME)
#define __libc_lock_define_initialized(CLASS, NAME)
#define __libc_rwlock_define_initialized(CLASS, NAME)
#define __libc_lock_define_initialized_recursive(CLASS, NAME)
#define __rtld_lock_define_initialized_recursive(CLASS, NAME)
#define __libc_lock_init(NAME)
#define __libc_rwlock_init(NAME)
#define __libc_lock_init_recursive(NAME)
#define __rtld_lock_init_recursive(NAME)
#define __libc_lock_fini(NAME)
#define __libc_rwlock_fini(NAME)
#define __libc_lock_fini_recursive(NAME)
#define __libc_lock_lock(NAME)
#define __libc_rwlock_rdlock(NAME)
#define __libc_rwlock_wrlock(NAME)
#define __libc_lock_lock_recursive(NAME)
#define __rtld_lock_lock_recursive(NAME)
#define __libc_lock_trylock(NAME)   0
#define __libc_rwlock_tryrdlock(NAME)   0
#define __libc_rwlock_trywrlock(NAME)   0
#define __libc_lock_trylock_recursive(NAME)   0
#define __libc_lock_unlock(NAME)
#define __libc_rwlock_unlock(NAME)
#define __libc_lock_unlock_recursive(NAME)
#define __rtld_lock_unlock_recursive(NAME)
#define __libc_once_define(CLASS, NAME)   CLASS int NAME = 0
#define __libc_once(ONCE_CONTROL, INIT_FUNCTION)
#define __libc_cleanup_region_start(DOIT, FCT, ARG)
#define __libc_cleanup_region_end(DOIT)
#define __libc_cleanup_end(DOIT)
#define __libc_cleanup_push(fct, arg)   __libc_cleanup_region_start (1, fct, arg)
#define __libc_cleanup_pop(execute)   __libc_cleanup_region_end (execute)
#define __libc_mutex_unlock
#define __libc_key_create(KEY, DEST)   -1
#define __libc_setspecific(KEY, VAL)   ((void)0)
#define __libc_getspecific(KEY)   0

Typedefs

typedef int __libc_key_t

Define Documentation

#define __libc_cleanup_end (   DOIT)
Value:
if ((DOIT) && __save_FCT != 0)                                     \
    (*__save_FCT)(__save_ARG);                                            \

Definition at line 116 of file libc-lock.h.

#define __libc_cleanup_pop (   execute)    __libc_cleanup_region_end (execute)

Definition at line 121 of file libc-lock.h.

#define __libc_cleanup_push (   fct,
  arg 
)    __libc_cleanup_region_start (1, fct, arg)

Definition at line 120 of file libc-lock.h.

#define __libc_cleanup_region_end (   DOIT)
Value:
if ((DOIT) && __save_FCT != 0)                                     \
    (*__save_FCT)(__save_ARG);                                            \
}

Definition at line 110 of file libc-lock.h.

#define __libc_cleanup_region_start (   DOIT,
  FCT,
  ARG 
)
Value:
{                                                                  \
  typeof (***(FCT)) *__save_FCT = (DOIT) ? (FCT) : 0;                     \
  typeof (ARG) __save_ARG = ARG;                                   \
  /* close brace is in __libc_cleanup_region_end below. */

Definition at line 103 of file libc-lock.h.

#define __libc_getspecific (   KEY)    0

Definition at line 136 of file libc-lock.h.

#define __libc_key_create (   KEY,
  DEST 
)    -1

Definition at line 130 of file libc-lock.h.

#define __libc_lock_define (   CLASS,
  NAME 
)

Definition at line 31 of file libc-lock.h.

#define __libc_lock_define_initialized (   CLASS,
  NAME 
)

Definition at line 37 of file libc-lock.h.

#define __libc_lock_define_initialized_recursive (   CLASS,
  NAME 
)

Definition at line 42 of file libc-lock.h.

#define __libc_lock_define_recursive (   CLASS,
  NAME 
)

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

#define __libc_lock_fini (   NAME)

Definition at line 57 of file libc-lock.h.

#define __libc_lock_fini_recursive (   NAME)

Definition at line 61 of file libc-lock.h.

#define __libc_lock_init (   NAME)

Definition at line 47 of file libc-lock.h.

#define __libc_lock_init_recursive (   NAME)

Definition at line 51 of file libc-lock.h.

#define __libc_lock_lock (   NAME)

Definition at line 64 of file libc-lock.h.

#define __libc_lock_lock_recursive (   NAME)

Definition at line 69 of file libc-lock.h.

#define __libc_lock_trylock (   NAME)    0

Definition at line 73 of file libc-lock.h.

#define __libc_lock_trylock_recursive (   NAME)    0

Definition at line 78 of file libc-lock.h.

#define __libc_lock_unlock (   NAME)

Definition at line 81 of file libc-lock.h.

#define __libc_lock_unlock_recursive (   NAME)

Definition at line 85 of file libc-lock.h.

Definition at line 124 of file libc-lock.h.

#define __libc_once (   ONCE_CONTROL,
  INIT_FUNCTION 
)
Value:
do {                                                                 \
    if ((ONCE_CONTROL) == 0) {                                              \
      INIT_FUNCTION ();                                                     \
      (ONCE_CONTROL) = 1;                                            \
    }                                                                \
  } while (0)

Definition at line 93 of file libc-lock.h.

#define __libc_once_define (   CLASS,
  NAME 
)    CLASS int NAME = 0

Definition at line 90 of file libc-lock.h.

#define __libc_rwlock_define (   CLASS,
  NAME 
)

Definition at line 34 of file libc-lock.h.

#define __libc_rwlock_define_initialized (   CLASS,
  NAME 
)

Definition at line 38 of file libc-lock.h.

#define __libc_rwlock_fini (   NAME)

Definition at line 58 of file libc-lock.h.

#define __libc_rwlock_init (   NAME)

Definition at line 48 of file libc-lock.h.

#define __libc_rwlock_rdlock (   NAME)

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

#define __libc_rwlock_tryrdlock (   NAME)    0

Definition at line 74 of file libc-lock.h.

#define __libc_rwlock_trywrlock (   NAME)    0

Definition at line 75 of file libc-lock.h.

#define __libc_rwlock_unlock (   NAME)

Definition at line 82 of file libc-lock.h.

#define __libc_rwlock_wrlock (   NAME)

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

#define __libc_setspecific (   KEY,
  VAL 
)    ((void)0)

Definition at line 133 of file libc-lock.h.

#define __rtld_lock_define_initialized_recursive (   CLASS,
  NAME 
)

Definition at line 43 of file libc-lock.h.

#define __rtld_lock_define_recursive (   CLASS,
  NAME 
)

Definition at line 33 of file libc-lock.h.

#define __rtld_lock_init_recursive (   NAME)

Definition at line 52 of file libc-lock.h.

#define __rtld_lock_lock_recursive (   NAME)

Definition at line 70 of file libc-lock.h.

#define __rtld_lock_unlock_recursive (   NAME)

Definition at line 86 of file libc-lock.h.


Typedef Documentation

typedef int __libc_key_t

Definition at line 127 of file libc-lock.h.