# cpp_process_study **Repository Path**: daily_study/cpp_process_study ## Basic Information - **Project Name**: cpp_process_study - **Description**: No description available - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-12 - **Last Updated**: 2025-08-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Process学习项目实战 本项目旨在从简单到复杂地学习C++多进程编程。 ## 项目结构 - [include/](file:///Users/peter/study/c++/process_study/include/) - 头文件目录 - [src/](file:///Users/peter/study/c++/process_study/src/) - 源代码目录 - [build/](file:///Users/peter/study/c++/process_study/build/) - 编译输出目录 - [Makefile](file:///Users/peter/study/c++/process_study/Makefile) - 构建脚本 ## 学习内容 1. **Level 1**: 基本进程创建和执行 (fork) 2. **Level 2**: 进程间通信 - 管道 (pipe) 3. **Level 3**: 进程间通信 - 消息队列 4. **Level 4**: 进程间通信 - 共享内存 5. **Level 5**: 信号处理 6. **Level 6**: 进程池实现 ## 构建和运行 ```bash make run ``` 该命令将: 1. 创建build目录 2. 编译所有示例程序 3. 依次运行所有示例程序