-
线程的例子:读写文件,递归过程的创建…
线程示例:读写文件、递归创建线程进程、快速排序-thread Example : reading and writing documents, recursive process of creating threads, Quick Sort
- 2022-04-18 22:51:31下载
- 积分: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
-
windows任务管理器vc源码,用 PSAPI 写的,只是又添加了一些小功能,包括CPU占用率显示,托盘显示等...
windows任务管理器vc源码,用 PSAPI 写的,只是又添加了一些小功能,包括CPU占用率显示,托盘显示等-windows task manager vc source code, using PSAPI written, but also added some small features, including CPU usage display, pallet display, etc.
- 2023-05-21 10:45:05下载
- 积分:1
-
线程的启动、终止、和停止操作的实现,操作功能有System.threading完成...
线程的启动、终止、和停止操作的实现,操作功能有System.threading完成-threads start to end, to cease operation and the realization of operating functions are completed System.threading
- 2022-05-18 06:10:58下载
- 积分:1
-
一个进程间的通信的好程序,好源码,值得一看,非常有帮助...
一个进程间的通信的好程序,好源码,值得一看,非常有帮助-A good inter-process communication procedures, a good source, worth a visit, very helpful
- 2022-10-19 12:00:02下载
- 积分:1
-
程序主要功能是查看进程下线程和堆栈的信息。
程序主要功能是查看进程下线程和堆栈的信息。-procedures main function is to process View Thread and stack information.
- 2022-02-03 18:15:17下载
- 积分:1
-
模拟多线程程序实现时间片轮换(多线程与时间片轮换)
模拟多线程程序实现时间片轮换(多线程与时间片轮换)-Simulation of multi-threaded process to achieve the rotation of the time slice (time slice and multi-threaded rotation)
- 2022-08-21 08:06:43下载
- 积分:1
-
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进...
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进-with wondows multithreaded programming of the respective ball control, allows anyone to stop a small ball and advance
- 2022-01-23 10:19:16下载
- 积分:1
-
常用的线程编程源代码
常用的线程编程源代码-common thread programming source code
- 2022-07-20 21:08:25下载
- 积分: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