IPC inter process communication进程间通信
半双工管道
FIFO
全双工管道
命名全双工管道
消息队列
信号量
共享存储
套接字
STREAMS
-------
before understand a thread , one need to first understand is unix process.
- 进程id,组id,用户id:Process ID, process group ID, user ID, and group ID
- 环境Environment
- 工作目录Working directory.
- 程序指令Program instructions
- Registers寄存器
- Stack栈
- Heap堆
- File descriptors文件描述
- Signal actions信号事件
- Shared libraries分享libraries
- Inter-process communication tools (such as message queues, pipes, semaphores, or shared memory).进程间通信工具
|
|
UNIX PROCESS |
THREADS WITHIN A UNIX PROCESS |