linux环境下的线程下载

由于刚从windows系统转ubuntu系统,需要将在win10的代码转移过来,因为本人代码中需要用到pthread线程,所以需要重新把它下载才可以使代码正常地跑,只要两条命令行的事情,比windows舒服多了!

$sudo apt-get install glibc-doc

$sudo apt-get install manpages-posix manpages-posix-dev

完成!代码正常跑了!

参考:https://blog.csdn.net/leisure512/article/details/4881391

猜你喜欢

转载自blog.csdn.net/weixin_42021550/article/details/86415929