在程序里创建了线程,编译时,需要连接 -pthread
Ubuntu下 man pthread create 帮助文档
sudo apt-get install glibc-doc
sudo apt-get install manpages-posix-dev
在程序里创建了线程,编译时,需要连接 -pthread
Ubuntu下 man pthread create 帮助文档
sudo apt-get install glibc-doc
sudo apt-get install manpages-posix-dev