多线程编程的问题

我已经包含了头文件“pthread.h”
为什么在调用pthread_create时说该函数没定义?
---------------------------------------------------------------

加编译参数 -lpthread

a.c

gcc a.c -lpthread

Published At
Categories with 服务器类
comments powered by Disqus