Linux 多线程编程
摘要:前言Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用libpthread.a。Linux下pthread的实现是通过系统调用clone()来实现的。clone()是Linux所特有的系统调用,它的使用方...
阅读全文
posted @ 2015-04-27 16:47
posted @ 2015-04-27 16:47
posted @ 2015-04-20 14:53
posted @ 2015-04-17 15:41
posted @ 2015-04-16 11:17