-
a multithreaded programming examples threads will be able to set priorities, deb...
一个vb多线程编程实例,能够设置线程优先级,已经调试能够执行。-a multithreaded programming examples threads will be able to set priorities, debugging can be implemented.
- 2022-07-26 17:04:37下载
- 积分:1
-
一个用vb编写的用来模拟进程调度的小程序!
一个用vb编写的用来模拟进程调度的小程序!-with a vb prepared for the simulation process of scheduling small programs!
- 2022-02-13 13:58:17下载
- 积分:1
-
vc environment, mfc multi
vc++环境,mfc实现多线程,适用初学者学习之用-vc environment, mfc multi-threaded, applicable with beginners learning
- 2022-02-20 10:54:27下载
- 积分:1
-
我们学校仿真足球的源程序,参加今年的比赛世界杯足球仿真比赛。...
我们学校仿真足球的源程序,参加今年的比赛世界杯足球仿真比赛。-Our school football simulation source code, to participate in this year" s World Cup Soccer Simulation League competition.
- 2023-01-18 03:55:03下载
- 积分:1
-
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-Generally speaking, the application of a secondary thread is always the main thread to perform a specific task, so that main thread and secondary threads must have a channel for the transmission of information, which is the main thread and the secondary thread to communicate between. This inter-thread communication is not only inevitable, but also in multi-threaded programming is complex and frequent, the following description will be carried out.
- 2022-03-06 14:41:20下载
- 积分: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
-
VB编写的开关机和注销程序,程序简单,易学易会。
VB编写的开关机和注销程序,程序简单,易学易会。-VB prepare for the switch and cancellation procedure is simple and easy to learn easily.
- 2022-12-14 20:20:02下载
- 积分:1
-
第43章 进程通信.rar
第43章 进程通信.rar-Chapter 43 process communication. Rar
- 2023-04-13 22:40:03下载
- 积分:1
-
用VC写的一个可以关闭系统的程序,直接把电源也关掉了,运行该程序前要小心把未保存的东西先保存!...
用VC写的一个可以关闭系统的程序,直接把电源也关掉了,运行该程序前要小心把未保存的东西先保存!-VC can write a closed system procedures, directly to switch off the power supply is also running the program prior to the careful preservation of not keeping things first!
- 2022-03-02 06:10:21下载
- 积分:1
-
一种实现多线程的方法,值得一看
一种实现多线程的方法,值得一看-a multi-threaded approach, an eye-catcher
- 2023-01-05 17:05:04下载
- 积分:1