POSIX线程
摘要:
posix线程库接口:引入<pthread.h> 链接要加上-lpthread 成功返回0,失败返回错误码.pthread函数出错时不会设置全局变量errno,而是将错误代码返回。int pthread_create(pthread_t* thread,const pthread_attr_t* a 阅读全文
posted @ 2018-03-02 20:59 wsw_seu 阅读(164) 评论(0) 推荐(0) 编辑