else if (__pthread_nonstandard_stacks) return __pthread_find_self();
static inline pthread_descr thread_self (void){#ifdef THREAD_SELF  return THREAD_SELF;#else  char *sp = CURRENT_STACK_FRAME;  if (sp >= __pthread_initial_thread_bos)    return &__pthread_initial_thread;  else if (sp >= __pthread_manager_thread_bos	   && sp < __pthread_manager_thread_tos)    return &__pthread_manager_thread;  else    return (pthread_descr)(((unsigned long)sp | (STACK_SIZE-1))+1) - 1;#endif}