-
单线程的,socket
单线程的,socket-based通信,简单sever-client通信-Single-threaded, socket-based communications, a simple sever-client communications
- 2023-04-16 05:50:03下载
- 积分:1
-
win32线程池代码, 可用于win98/nt/200
win32线程池代码, 可用于win98/nt/200 -win32 code can be used win98/nt/200
- 2023-04-23 12:15:02下载
- 积分:1
-
实时动态显示进程信息的程序,如资源利用等。比任务管理器显示更多进程信息...
实时动态显示进程信息的程序,如资源利用等。比任务管理器显示更多进程信息- Real-time dynamic demonstration advancement information
procedure, like resources use and so on. Compared to the task
management demonstration are more advancements information
- 2022-06-13 14:42:09下载
- 积分:1
-
一种实现多线程的方法,值得一看
一种实现多线程的方法,值得一看-a multi-threaded approach, an eye-catcher
- 2023-04-19 06:55:02下载
- 积分:1
-
bankers algorithm development to achieve vc need can be downloaded use
银行家算法的实现 vc++开发 有需要的可以下载使用-bankers algorithm development to achieve vc need can be downloaded use
- 2022-02-20 06:46:01下载
- 积分: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
-
c++或C下如何使用多线程
c++或C下如何使用多线程-how to use multithreading
- 2022-01-31 14:00:58下载
- 积分:1
-
一个很好的多线程控制的程序,可以随鼠标的移动画圆,同时可以占用window的空闲线程...
一个很好的多线程控制的程序,可以随鼠标的移动画圆,同时可以占用window的空闲线程-a good multi-threaded control procedures, which can be mobile Circle mouse, the window could occupy idle threads
- 2023-07-07 20:20:02下载
- 积分:1
-
一个windows的exe进程dump程序。
一个windows的exe进程dump程序。-windows of a dump exe process procedures.
- 2022-05-29 07:11:18下载
- 积分:1
-
进程管理,动态分配内存,按照最大优先级的动态分配
进程管理,动态分配内存,按照最大优先级的动态分配-process management, dynamic memory allocation, in accordance with the priority of the largest dynamic allocation
- 2022-03-14 06:10:56下载
- 积分:1