-
程序主要功能是查看进程下线程和堆栈的信息。
程序主要功能是查看进程下线程和堆栈的信息。-procedures main function is to process View Thread and stack information.
- 2022-02-03 18:15:17下载
- 积分: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
-
WIN2000及以上版本, MicroSoft提供了一个全新的途径, 即 PSAPI.DLL通过 PSAPI.DLL, 我们可以枚举正在运行的所有进程, 进程的...
WIN2000及以上版本, MicroSoft提供了一个全新的途径, 即 PSAPI.DLL通过 PSAPI.DLL, 我们可以枚举正在运行的所有进程, 进程的所有模块, 进程的可执行文件名及路径等-versions of Windows 2000 and above, MicroSoft provide a new way, through PSAPI.DLL PSAPI.DLL, we can enumeration of all the running process, the process of all modules, the process executable file name and path.
- 2022-10-17 20:35:03下载
- 积分:1
-
进程间通信的一直方式,采用管道,此处用的是匿名管道,即子进程与父进程间的通信...
进程间通信的一直方式,采用管道,此处用的是匿名管道,即子进程与父进程间的通信-Inter-process communication methods have been used pipe, used here is the anonymous pipe, that is, the child process and parent inter-process communication
- 2022-01-26 05:11:59下载
- 积分:1
-
创建一个子进程并接收子进程的消息和输出信息
创建一个子进程并接收子进程的消息和输出信息- Founds a child process and receives the child process the news
and the output information
- 2022-04-07 03:12:03下载
- 积分:1
-
进程管理和线程管理 进程管理和线程管理
进程管理和线程管理 进程管理和线程管理-Process management process management and thread management and thread management
- 2022-02-07 20:54:29下载
- 积分:1
-
可以每个进程使用的内存情况
可以每个进程使用的内存情况-each process can be used in memory of
- 2022-06-28 21:57:25下载
- 积分:1
-
在实际问题中,我们需要在VB中得到更精确的时间事件触发,timer控件的精度只达到30ms,该程序应用timeSetEvent多媒体函数实现1ms的精确事件触发...
在实际问题中,我们需要在VB中得到更精确的时间事件触发,timer控件的精度只达到30ms,该程序应用timeSetEvent多媒体函数实现1ms的精确事件触发。-on practical issues, we need to be in VB more precise time trigger events, The timer control precision is only 30 ms. Application procedures for the multimedia function timeSetEvent ms achieve a precise trigger events.
- 2023-06-10 01:00:03下载
- 积分:1
-
定义一个固定大小的线程池,工作函数直接从线程池里获取实现。...
定义一个固定大小的线程池,工作函数直接从线程池里获取实现。-The definition of a fixed-size thread pool, work function, to obtain directly from the thread pool implementation.
- 2022-07-02 08:37:10下载
- 积分:1
-
Own multi
自己做的
多线程抽奖
功能比较少做一个示范-Own multi-threading of the draw features to make a model less
- 2022-02-04 12:44:13下载
- 积分:1