在liunx编译C语言程序出现Undefined reference to pthread_create in Linux 错误*

   使用gcc -pthread -o term term.c命令即可
此问题出现在liunx下创建多线程程序出现的错误

猜你喜欢

转载自blog.csdn.net/qq_16773023/article/details/78462574