/* Terminate calling thread. The registered cleanup handlers are called via exception handling so we cannot mark this function with __THROW.*/ //结束线程 externvoidpthread_exit(void *__retval) __attribute__((__noreturn__));
/* Make calling thread wait for termination of the thread TH. The exit status of the thread is stored in *THREAD_RETURN, if THREAD_RETURN is not NULL. This function is a cancellation point and therefore not marked with __THROW. */ //线程等待 externintpthread_join(pthread_t __th, void **__thread_return);