多线程编程指南

pthread_self 语法

pthread_t	 pthread_self(void);
#include <pthread.h>



pthread_t tid;



tid = pthread_self();