rt_bind_guard
extern int rt_bind_guard(int);
if (rt_bind_guard(THR_FLG_RTLD | thr_flg_nolock | flags)) {