ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope
pthread_t在头文件 usr include bits pthreadtypes.h中定义:typedef unsigned long int pthread_t;它是一个线程的标识符。#include <pthread.h> 解决。
2016-06-07 11:26:00
ThreadXxx.h:100: error: ‘pthread_t’ was not declared in this scope
pthread_t在头文件 usr include bits pthreadtypes.h中定义:typedef unsigned long int pthread_t;它是一个线程的标识符。#include <pthread.h> 解决。