_thr_alloc
if ((new_thread = _thr_alloc(curthread)) == NULL)
curthread = _thr_alloc(NULL);
struct pthread *_thr_alloc(struct pthread *) __hidden;