-
use under standard multithreaded category TThread to complete our multithreaded...
利用DELPHI下标准的多线程类TThread来完成我们的多线程设计-use under standard multithreaded category TThread to complete our multithreaded design
- 2022-02-22 03:06:43下载
- 积分:1
-
demonstration Multithreading can be flown and awaken threads, good ah !
演示多线程,可以挂起和唤醒线程,很好的啊!-demonstration Multithreading can be flown and awaken threads, good ah !
- 2022-02-03 16:48:04下载
- 积分:1
-
在MFC下创建一个进程的例子
在MFC下创建一个进程的例子-MFC in the process of creating an example
- 2022-04-09 07:43:11下载
- 积分:1
-
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息...
是一个钩子利用的实例,使用函数
setwindowshookexw
获取全局键盘信息-Is an example of the use of hook, use the function global keyboard access to information setwindowshookexw
- 2022-11-06 04:00:04下载
- 积分:1
-
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。...
本例的进程处理器程序实现了进程的列举、进程的切换、启动新的进程、杀死进程、命令行处理等功能。-cases the processors in the process realized by the enumeration process, the process of switching and started a new process, killing process, Command-line processing capabilities.
- 2022-01-22 12:40:05下载
- 积分: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
-
信号量实现临界区访问
信号量实现临界区访问-signal to achieve critical visit
- 2022-09-01 09:25:03下载
- 积分:1
-
编译原理
编译原理-内存管理-compiler theory-Memory Management
- 2022-03-06 21:56:27下载
- 积分:1
-
看进程是否有administrator权限
看进程是否有administrator权限-To see whether there is any administrator permissions process
- 2022-08-21 22:12:02下载
- 积分:1
-
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也...
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也即系统中的多个进程轮流地占用处理器运行。 我们把如干个进程都能进行访问和修改地那些变量成为公共变量。由于进程是并发执行的,所以,如果对进程访问公共变量不加限制,那么就会产生“与时间有关”的错误,即进程执行后,所得到的结果与访问公共变量的时间有关。为了防止这类错误,系统必须要用同步机构来控制进程对公共变量的访问。一般说,同步机构是由若干条原语――同步原语――所组成。本实验要求学生模拟PV操作同步机构的实现,模拟进程的并发执行,了解进程并发执行时同步机构的作用。-operating system for this experiment : the process synchronization mechanism Simulation. A report flowchart Oklahoma as part of the main source! ! Description : The process is procedural in a data set on the process of operation, the process is complicated by the implementation of the system that is the number of rotation process to deal with occupation Operation. We can process of stem out for a visit and to amend those variables as public variables. As the process is complicated by the implementation, so if the right to visit public process variables without restrictions, it will have a "Time" is wrong, the implementation process, the results obtained with the public
- 2022-03-22 10:41:28下载
- 积分:1