2015年4月27日

Linux 多线程编程

摘要: 前言Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用libpthread.a。Linux下pthread的实现是通过系统调用clone()来实现的。clone()是Linux所特有的系统调用,它的使用方... 阅读全文

posted @ 2015-04-27 16:47 chaplinthink 阅读(186) 评论(0) 推荐(0)

导航