ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared
#include <pthread.h>#include <signal.h>除了pthread.h外,还要引入signal.h头文件才行,解决。
2016-06-07 11:27:53
ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared
#include <pthread.h>#include <signal.h>除了pthread.h外,还要引入signal.h头文件才行,解决。