"undefined reference to `pthread_xxx'"

解決辦法:編譯 在編譯中要加 -lpthread參數     gcc test.c -o test -lpthread thread
相關文章
相關標籤/搜索