thr_t
thr_t __libc_thr_self(void);
thr_t __libc_thr_self_stub(void);
int __libc_thr_create_stub(thr_t *, const thrattr_t *,
int __libc_thr_detach_stub(thr_t);
int __libc_thr_join_stub(thr_t, void **);
thr_t thr;
thr_t _lockowner; /* The thread currently holding the lock */
thr_t
return ((thr_t) -1);
__libc_thr_create_stub(thr_t *tp, const thrattr_t *ta,