"undefined reference to `pthread_xxx'"

解决办法:编译 在编译中要加 -lpthread参数     gcc test.c -o test -lpthread thread
相关文章
相关标签/搜索