1. Pipes, have two limits: half duplex and can be used only between processes that a common ancestor.
2. FIFOs (sometimes called named pipes).
3. Semonphore.
4. Message queues.
5. Sockets.
进程间通信方式
本文介绍了五种主要的进程间通信(IPC)方式:管道(Pipes),仅限具有共同祖先的进程间的半双工通信;具名管道(FIFOs),一种更为灵活的管道形式;信号量(Semonphore),用于协调进程访问共享资源;消息队列(Message queues),允许多个进程发送和接收消息;套接字(Sockets),支持不同主机上的进程通信。
1. Pipes, have two limits: half duplex and can be used only between processes that a common ancestor.
2. FIFOs (sometimes called named pipes).
3. Semonphore.
4. Message queues.
5. Sockets.

被折叠的 条评论
为什么被折叠?