Chinaunix首页 | 论坛 | 博客
  • 博客访问: 12862
  • 博文数量: 5
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 50
  • 用 户 组: 普通用户
  • 注册时间: 2013-07-06 05:23
文章分类

全部博文(5)

文章存档

2013年(5)

我的朋友
最近访客

分类: 嵌入式

2013-12-13 09:11:56

Therefore, Linux, like all modern UNIX implementations, provides a rich set of mechanisms
for interprocess communication (IPC), including the following:
  1. signals, which are used to indicate that an event has occurred;
  2. pipes (familiar to shell users as the | operator) and FIFOs, which can be used to transfer data between processes;
  3. sockets, which can be used to transfer data from one process to another, either on the same host computer or on different hosts connected by a network;
  4. file locking, which allows a process to lock regions of a file in order to prevent other processes from reading or updating the file contents;
  5. message queues, which are used to exchange messages (packets of data) between processes;
  6. semaphores, which are used to synchronize the actions of processes; and
  7. shared memory, which allows two or more processes to share a piece of memory. When one process changes the contents of the shared memory, all of the other processes can immediately see the changes.
阅读(362) | 评论(0) | 转发(0) |
0

上一篇:Finding Commits

下一篇:优先级反转

给主人留下些什么吧!~~