-
多线程编程学习手册,包括四个章节,1.多线程的必要性2.MFC中的多线程开发3.线程间的通信4.线程的同步,这是里面的程序源码,有10个例子,通俗易懂。...
多线程编程学习手册,包括四个章节,1.多线程的必要性2.MFC中的多线程开发3.线程间的通信4.线程的同步,这是里面的程序源码,有10个例子,通俗易懂。-Multi-threaded programming learning manuals, including four chapters, 1. 2.MFC the need for multi-threaded multi-threaded development in three. Threads of communication 4. Thread synchronization, which is inside the program source yards, there are 10 examples, easy to understand.
- 2022-02-06 06:48:02下载
- 积分:1
-
内存管理系统。 用VB编写。希望对大家有点用处~
内存管理系统。 用VB编写。希望对大家有点用处~-memory management system. VB prepared. We hope to use some ~
- 2023-04-19 22:20:03下载
- 积分:1
-
Windows 32 系统开发,利用VC
Windows 32 系统开发,利用VC-windows 32 system development, using vc
- 2022-03-29 15:26:56下载
- 积分:1
-
JAVA多线程编程
JAVA多线程编程-multi thread program by java
- 2022-03-29 11:02:30下载
- 积分: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
-
学习多线程编程不可多得得例子,思路清晰, 并可为深入学习的人进一步应用。...
学习多线程编程不可多得得例子,思路清晰, 并可为深入学习的人进一步应用。-learning multithreaded programming in a rare example of clear ideas and being able to study in depth the further application.
- 2023-07-17 06:35:03下载
- 积分:1
-
进程的3中调度算法,时间片、段进程优先、优先权这3种
进程的3中调度算法,时间片、段进程优先、优先权这3种-process scheduling algorithm, time films, the process of priority, the three priority
- 2022-03-23 16:28:36下载
- 积分:1
-
一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简...
一个使用C语言编写的模拟windows进程管理的程序,包括进程的创建,查看,替换,消息通信等等,我自己做的,非常精简-a C language simulation windows process management procedures, including the process of creating, viewing, replacement, news communications, etc., I do, very concise
- 2022-01-30 18:23:31下载
- 积分:1
-
Call dll in a dll file.
在dll文件中调用dll。
- 2022-03-13 03:58:12下载
- 积分:1
-
中央处理器油门进入源代码,比较先进!初学者不应该下来…
CPU Throttle查看的源代码,比较高级!初学者不要下载-CPU Throttle access to the source code, more advanced! Beginners should not download
- 2023-04-24 14:00:04下载
- 积分:1