Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld_lock.c
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Lines | def_thread_clr_flag(int mask) | ||||
int old_val = thread_flag; | int old_val = thread_flag; | ||||
thread_flag &= ~mask; | thread_flag &= ~mask; | ||||
return (old_val); | return (old_val); | ||||
} | } | ||||
/* | /* | ||||
* Public interface exposed to the rest of the dynamic linker. | * Public interface exposed to the rest of the dynamic linker. | ||||
*/ | */ | ||||
static struct RtldLockInfo lockinfo; | struct RtldLockInfo lockinfo; | ||||
static struct RtldLockInfo deflockinfo; | static struct RtldLockInfo deflockinfo; | ||||
static __inline int | static __inline int | ||||
thread_mask_set(int mask) | thread_mask_set(int mask) | ||||
{ | { | ||||
return lockinfo.thread_set_flag(mask); | return lockinfo.thread_set_flag(mask); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 233 Lines • Show Last 20 Lines |