Chinaunix首页 | 论坛 | 博客
  • 博客访问: 67115
  • 博文数量: 22
  • 博客积分: 1406
  • 博客等级: 上尉
  • 技术积分: 190
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 13:18
文章分类

全部博文(22)

文章存档

2011年(1)

2010年(21)

我的朋友

分类: LINUX

2010-03-06 18:34:34

Here are the same elements of process and thread listed in the table.


 Process  Thread
 Descreiption
 fork  pthread_create
 create
 exit  pthread_exit  exit
 waitpid 
 pthread_join  get quit status
 atexit  pthread_cancel_push  register to exit
 getpid  pthread_self  get id
 abort  pthread_cancel  exit improperly

Process communication: pipe, message, semaphore, shared memory, socket.

Thread communication: mutex, read-write lock, condition variable.
阅读(835) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~