Chinaunix首页 | 论坛 | 博客
  • 博客访问: 349874
  • 博文数量: 159
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 182
  • 用 户 组: 普通用户
  • 注册时间: 2013-11-02 10:42
文章分类

全部博文(159)

文章存档

2015年(18)

2014年(132)

2013年(9)

发布时间:2014-08-09 23:07:17

......【阅读全文】

阅读(843) | 评论(0) | 转发(0)

发布时间:2014-08-09 23:04:24

  #include <deque>#include <map>#include <vector>#include <pthread.h>#include <semaphore.h>#include <time.h>#include <sys/time.h>#include <sys/shm.h>#include <errno.h>#include <sys/types.h>#include <fcntl.h>#include <st.........【阅读全文】

阅读(1155) | 评论(0) | 转发(0)

发布时间:2014-07-07 17:57:11

该程序主要实现了两个进程之间传递描述符的实现,主要使用了sendmsg和recvmsg的功能。......【阅读全文】

阅读(998) | 评论(0) | 转发(0)

发布时间:2014-07-07 17:56:42

从select的一个死循环谈epoll的ET模式                                                                        &nb.........【阅读全文】

阅读(779) | 评论(0) | 转发(0)

发布时间:2014-06-02 15:29:12

一 用户级线程(User-Level Thread,ULT): (1)定义:应用程序可以通过使用线程库来设计多线程程序。线程库是用户级线程管理的一个包,它包含用于创建和销毁线程、在线程间传递信息和数据、调度线程执行的代码以及保存和恢复线程上下文的代码。 (2)优点: 1.最快的切换时间:所有线程的管理数据结构都在一个进.........【阅读全文】

阅读(753) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

毕赖子2013-11-02 14:36

回复  |  举报
留言热议
请登录后留言。

登录 注册