1、apt-get install manpages-posix-dev

2、安装完后默认在/usr/bin目录下

ubuntu系统安装posix文档

 

3、查看thread的文档

man -k pthread

ubuntu系统安装posix文档

4、创建线程

man pthread_create
 

相关文章:

  • 2021-11-25
  • 2022-02-22
  • 2021-07-25
  • 2021-11-07
  • 2021-05-31
  • 2021-12-02
  • 2021-07-17
  • 2021-04-14
猜你喜欢
  • 2021-06-24
  • 2022-01-17
  • 2021-04-17
  • 2021-08-24
  • 2021-10-02
相关资源
相似解决方案