pthread_t pthread_self()
1.0、参考
1.1、此函数的作用

得到当前线程的ID

1.2、返回值说明

pthread_t的定义如下:

typedef unsigned long int pthread_t;