ubuntu 下沒有pthread庫 怎麼辦?

ubuntu 下默認是沒有pthread庫 的   即便在編譯的時候  加上 -lpthread 也不行 man不到相關函數  使用下面的指令安裝 就能夠了 sudo apt-get install glibc-doc sudo apt-get install manpages-posix-devubuntu 而後在用man -k pthread_create就能夠找到了vim
相關文章
相關標籤/搜索