摘要:
System Calls 系统调用提供操作系统服务接口 每个操作都要一个系统调用,如果操作可能遇到错误情况,进而可能需要其他系统调用 API 应用编程接口 为程序员规定了一组函数,提供实际的系统调用 Types of System Calls #Operating System Design and 阅读全文
摘要:
#what operating system do resource allocator control program computer-system organization 事情发生通过硬件或软件的interrupt实现 硬件通过系统总线发送信号触发中断。软件通过system call触发中断 阅读全文
摘要:
#逆序对 ##思路一:两层for循环 不多bb,\(O(N^2)\) 代码实现 #include <iostream> using namespace std; void solve() { int a[5000]={0}; int f[5000]={0}; int m; cin >> m; for 阅读全文