Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld_lock.h
Show All 40 Lines | struct RtldLockInfo | ||||
void (*rlock_acquire)(void *); | void (*rlock_acquire)(void *); | ||||
void (*wlock_acquire)(void *); | void (*wlock_acquire)(void *); | ||||
void (*lock_release)(void *); | void (*lock_release)(void *); | ||||
int (*thread_set_flag)(int); | int (*thread_set_flag)(int); | ||||
int (*thread_clr_flag)(int); | int (*thread_clr_flag)(int); | ||||
void (*at_fork)(void); | void (*at_fork)(void); | ||||
}; | }; | ||||
extern void _rtld_thread_init(struct RtldLockInfo *) __exported; | void _rtld_thread_init(struct RtldLockInfo *) __exported; | ||||
extern void _rtld_atfork_pre(int *) __exported; | void _rtld_atfork_pre(int *) __exported; | ||||
extern void _rtld_atfork_post(int *) __exported; | void _rtld_atfork_post(int *) __exported; | ||||
#ifdef IN_RTLD | #ifdef IN_RTLD | ||||
struct rtld_lock; | struct rtld_lock; | ||||
typedef struct rtld_lock *rtld_lock_t; | typedef struct rtld_lock *rtld_lock_t; | ||||
extern rtld_lock_t rtld_bind_lock; | extern rtld_lock_t rtld_bind_lock; | ||||
extern rtld_lock_t rtld_libc_lock; | extern rtld_lock_t rtld_libc_lock; | ||||
Show All 18 Lines |