C++:如何将类成员函数传递给pthread_create()?
https://thispointer.com/c-how-to-pass-class-member-function-to-pthread_create/
1
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,void *(*start_routine) (void *), void *arg);
接受一个参数和返回值都是void * 的函数
class Task