-
bios启动程序,在DOS下运行成功。要经过编译
bios启动程序,在DOS下运行成功。要经过编译-bios commencement of proceedings, under the DOS operating successfully. To be compiled
- 2022-01-25 17:55:37下载
- 积分:1
-
经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题....
经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
- 2022-06-14 07:22:38下载
- 积分:1
-
delphi的任务管理
delphi的任务管理-task management of delpi
- 2022-02-13 04:07:10下载
- 积分:1
-
two experimental operating system : the process of scheduling strategy to achiev...
操作系统实验2:进程调度策略的模拟实现
1、 设计一个有 N个进程共行的进程调度程序。
2、 每个进程有一个进程控制块PCB来表示,进程控制块的格式为:
进程名
优先数
到达时间
需要运行时间
已占用CPU时间
进程状态
a) 进程优先数、需要运行时间、到达时间可以事先人为地指定,也可以随机产生,注意初始化上述数值时要尽量使进程并发执行,而不是按到达时间顺序调度。
b) 进程的运行时间以时间片为单位进行计算。
c) 进程状态分为就绪、运行、完成三种状态之,分别用W、R、F表示。
3、 进程调度规则如下:
a) 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。
b) 如果运行一个时间片后,进程已占用 CPU时间达到所需要运行时间,则进程完成,撤销该进程。
c) 如果运行一个时间片后,进程已占用CPU时间还未达到所需要运行时间,即进程需要继续运行,将它插入就绪队列,队列重新排序,等待CPU。
d) 重复以上过程,直到所要进程都完成为止。
-two experimental operating system : the process of scheduling strategy to achieve a simulation. Design is a process of a total of N the process scheduler. 2, each process is a process control block to PCB said that the process control block format : process a few who arrived at the priority needs time to time running CPU time a state process) process priority number. need to run time, arriving in time prior to artificially designated, can also randomly generated, Initialization attention to the above values are to m
- 2022-02-20 17:25:28下载
- 积分:1
-
is a multithreaded example, the main demonstration supporting idle threads and t...
是一个多线程的例子,演示主线程和空闲辅助线程的使用方法-is a multithreaded example, the main demonstration supporting idle threads and the use of threads
- 2023-05-12 18:30:04下载
- 积分:1
-
一个进程隐藏的例子
一个进程隐藏的例子-an example of the hidden proce
- 2023-02-08 14:55:03下载
- 积分:1
-
multiple thread演示,virtual系统的multiple thread,有助于教学用途
multiple thread演示,virtual系统的multiple thread,有助于教学用途-multiple thread demonstration of multiple virtual thread, and the teaching purposes
- 2022-08-22 08:34:26下载
- 积分:1
-
Simple ProcessorControl Unit
Simple ProcessorControl Unit
- 2022-02-06 06:54:29下载
- 积分:1
-
多线程程序,多线程应用程序很容易发生。互斥对象…
多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-multithreaded program, multithreaded applications easily occur. Mutex object on how to use mutex object to the multi-thread synchronization. How to use object named mutex to ensure only one application program running examples. Application multithreaded network chat room preparation procedures.
- 2022-01-26 05:26:47下载
- 积分:1
-
一个简单的多
一个简单的多线程的框架,每个线程作一个计数,并且可以用菜单控制线程的执行-a simple multi-threaded framework for a per-thread count, and the menu can be used to control the implementation of threads
- 2022-02-09 12:09:57下载
- 积分:1