-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHello.cpp
More file actions
40 lines (38 loc) · 1.65 KB
/
Copy pathHello.cpp
File metadata and controls
40 lines (38 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* Welcome to the THU Operating Systems Sample Code Repository
* 清华大学操作系统课程 —— 样本代码仓库
*
* 本仓库基于 OSTEP (Operating Systems: Three Easy Pieces) 体系构建
* 包含进程调度、同步原语、内存管理、文件系统等核心实现
*
* Part I CPU虚拟化 (01-03): 进程/调度/并发
* Part II 同步机制 (04-06): 锁/信号量/死锁
* Part III 内存管理 (07-09): 虚拟内存/分页/分配器
* Part IV 存储系统 (10-12): 文件系统/IO磁盘/高级主题
*
* 编译: g++ -std=c++17 filename.cpp -o filename -lpthread
* 运行: ./filename
*/
#include <iostream>
using namespace std;
int main() {
cout << "========================================" << endl;
cout << " THU Operating Systems Repo " << endl;
cout << " 清华大学操作系统课程样本代码仓库 " << endl;
cout << "========================================" << endl;
cout << endl;
cout << "Based on:" << endl;
cout << " Remzi & Andrea Arpaci-Dusseau:" << endl;
cout << " <<Operating Systems: Three Easy Pieces>>" << endl;
cout << " (OSTEP, https://pages.cs.wisc.edu/~remzi/OSTEP/)" << endl;
cout << endl;
cout << "12 Chapters / ~48 Files:" << endl;
cout << " Part I (01-03): CPU Virtualization" << endl;
cout << " Part II (04-06): Synchronization " << endl;
cout << " Part III (07-09): Memory Management " << endl;
cout << " Part IV (10-12): Storage & I/O " << endl;
cout << endl;
cout << "Navigate to each chapter folder for sample code." << endl;
cout << "Each .cpp file can be compiled independently." << endl;
return 0;
}