编译线程函数时,总是会出错,以为是linux提供的函数库#include<pthread.h>的问题,后来才发现如下所示:
|
pthread_create函数编译时报错:undefined reference to 'pthread_create'
最新推荐文章于 2022-06-06 10:44:36 发布
编译线程函数时,总是会出错,以为是linux提供的函数库#include<pthread.h>的问题,后来才发现如下所示:
|