-
关于线程的代码,很实用,希望大家多多支持,互相学习
关于线程的代码,很实用,希望大家多多支持,互相学习-Code on the thread, very useful, hope that we can support and learn from each other
- 2022-01-25 16:18:42下载
- 积分:1
-
vc environment, mfc multi
vc++环境,mfc实现多线程,适用初学者学习之用-vc environment, mfc multi-threaded, applicable with beginners learning
- 2022-02-20 10:54:27下载
- 积分:1
-
一个多线程之间通信的一个实例,可以进一步加深对多线程通信的理解。...
一个多线程之间通信的一个实例,可以进一步加深对多线程通信的理解。-More than one instance of a communication between threads, we can further deepen the understanding of multi-threaded communications.
- 2022-10-01 21:15:03下载
- 积分: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
-
Hanoi塔演示程序,Hanoi塔是一个不错的 游戏
Hanoi塔演示程序,Hanoi塔是一个不错的 游戏-Hanoi tower demo program, Hanoi Tower is a good game
- 2022-07-14 19:35:24下载
- 积分:1
-
windows of the multi
windows的多线程编程(界面线程和辅助线程),mfc相关2-windows of the multi-threaded programming (interface thread and support thread), mfc-related 2
- 2022-02-14 05:40:55下载
- 积分:1
-
VC with the realization of a process of management procedures, covering the basi...
一个用VC实现的进程管理程序,涵盖了进程管理的基本功能。-VC with the realization of a process of management procedures, covering the basic functions of process management.
- 2022-06-13 05:48:55下载
- 积分:1
-
Vb隐藏进程源代码,在任务管理器中隐藏进程,非常有用的
Vb隐藏进程源代码,在任务管理器中隐藏进程,非常有用的-Vb source code to hide the process in Task Manager to hide the process, very useful
- 2022-08-25 20:46:27下载
- 积分:1
-
C程序实现系统存储管理分区分配的算法。运行环境:windows.
C程序实现系统存储管理分区分配的算法。运行环境:windows.
-C program distribution system, storage management partition algorithms. Operating Environment: windows.
- 2022-12-14 16:55:03下载
- 积分:1
-
在MFC下创建一个进程的例子
在MFC下创建一个进程的例子-MFC in the process of creating an example
- 2022-04-09 07:43:11下载
- 积分:1