⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sched3.c

📁 The main purpose of this project is to add a new scheduling algorithm to GeekOS and to implement a s
💻 C
字号:
#include <conio.h>#include <process.h>#include <sched.h>#include <sema.h>#include <string.h>int main( int argc , char ** argv ){  int holdsched3_sem;  holdsched3_sem = Create_Semaphore("holdsched3_sem",0);  P(holdsched3_sem);  Print("3");  V(holdsched3_sem);  Destroy_Semaphore(holdsched3_sem);  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -