-
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!...
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!-term solution is mainly the deadlock algorithm, also known as bankers algorithm can be used to hope!
- 2022-08-03 21:11:11下载
- 积分:1
-
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。...
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。-STL use under windows to do the thread pool, semi-synchronous/semi-asynchronous model, when the thread was not using suspend.
- 2022-02-02 01:37:18下载
- 积分: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
-
操作系统实验
操作系统实验--计算页面置换算法的不同命中率-experimental operating system-- Calculation algorithm replacement pages of different shooting
- 2022-09-19 11:35:03下载
- 积分:1
-
Windows 32 系统开发,利用VC
Windows 32 系统开发,利用VC-windows 32 system development, using vc
- 2022-03-29 15:26:56下载
- 积分:1
-
pb的一个控制系统开机、关机、注销的程序。是一个例程。
pb的一个控制系统开机、关机、注销的程序。是一个例程。-pb of a control system boot and shutdown, cancellation procedures. It is a routine.
- 2022-10-20 07:55:03下载
- 积分:1
-
多线程技术实现文件查找文件,速度超快(用线程互斥锁控制总线程数目)...
多线程技术实现文件查找文件,速度超快(用线程互斥锁控制总线程数目)-Multi-threading technology to achieve a document to find documents, super-fast (with thread Mutex to control the total number of threads)
- 2022-08-24 19:47:30下载
- 积分:1
-
学习操作系统时,进程和线程搞了很久,还是一知半解,看了这一篇文章,才在整体在明白了它们之间的依存...
学习操作系统时,进程和线程搞了很久,还是一知半解,看了这一篇文章,才在整体在明白了它们之间的依存-learning operating system, processes and threads engage in a long time, or only a little, having read this article, but only in general they understand the interdependence between the
- 2022-05-16 02:37:22下载
- 积分:1
-
这是一个非常好的进度条控件,可以多种颜色和填充方式显示进度,很漂亮....
这是一个非常好的进度条控件,可以多种颜色和填充方式显示进度,很漂亮.-This is a very good progress of controls, can fill a variety of colors and shown progress, and very pretty.
- 2022-03-26 15:59:42下载
- 积分:1
-
com多线程编程
com多线程编程-com multithreaded programming
- 2022-10-20 15:00:03下载
- 积分:1