清泛IT社区

标题: ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared [打印本页]

作者: 清泛网    时间: 2015-10-16 15:31
标题: ThreadXxx.cc:100: error: ‘::pthread_kill’ has not been declared
#include <pthread.h>
#include <signal.h>

除了pthread.h外,还要引入signal.h头文件才行,解决。





欢迎光临 清泛IT社区 (https://bbs.tsingfun.com/) Powered by Discuz! X3.3