带线程函数编译条件

1、pthread不是linux系统的库,所以在编译时要加上-lpthread,否则编译不过。

原文地址:https://www.cnblogs.com/ldcb/p/4683051.html