-
大家共享好东西,
尤其是学C++的出血者
大家共享好东西,
尤其是学C++的出血者-share good things, especially learning C bleeding
- 2023-03-10 02:10:03下载
- 积分: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
-
一个封装了线程模型的类
一个封装了线程模型的类-a package of thread-like model
- 2022-08-19 16:59:04下载
- 积分:1
-
它能够启动你指定的任意多个程序。被启动的程序将像 NT 服务一样运行(例如,不用用户登陆机器,它们便会在后台运行)。 ? 在没有合适特权情况下,用户不能终止由此...
它能够启动你指定的任意多个程序。被启动的程序将像 NT 服务一样运行(例如,不用用户登陆机器,它们便会在后台运行)。 ? 在没有合适特权情况下,用户不能终止由此服务启动的程序(除非机器关闭)。 ? 你可以在 NT 服务之外测试和调试你的程序。例如,你可以在 DevStudio 调试器中运行你的程序,单步进入源代码中查找错误等。当“调试无错”后,你将它配置成产品,从 NT 服务启动它。-it can start your designated arbitrary number of procedures. The procedure was activated as NT services will be running the same (for example, users do not have landing machines, which will run in the background). In the absence of appropriate privileges, the user can not terminate this service launch procedures (unless machine off). You can NT service test and debug your program. For example, you can DevStudio Debugger run your program, single-step access to the source code looking for errors. When the "debug no mistakes", you will configure it into products, from NT service and start it.
- 2022-11-12 07:20:03下载
- 积分:1
-
依次执行一系列程序且每个程序之间执行有时间间隔。
依次执行一系列程序且每个程序之间执行有时间间隔。- Carries out between in turn a series of procedures also each
procedure carries out has the time-gap.
- 2022-03-07 19:38:14下载
- 积分:1
-
VC目录:
演示Viusal C++中创建多线程的方法
编译环境要求:
安装Viusal C++6.0
主要文件说明:
ThreadD...
VC目录:
演示Viusal C++中创建多线程的方法
编译环境要求:
安装Viusal C++6.0
主要文件说明:
ThreadDemo.cpp: 演示创建线程的C++文件
run.cmd:自动打开一个命令窗口执行程序的脚本文件-VC Contents : Presentations Khan C to create multiple threads of environmental requirements compiler : 6.0 C contemplating the installation of key documents : ThreadDemo.cpp : Presentations create threads document run.cmd C : automatic orders to open a window to the procedure script file
- 2023-05-12 08:35:03下载
- 积分:1
-
写日志的代码,很不错啊,大家可以自由下在
写日志的代码,很不错啊,大家可以自由下在-log write code, and it is very responds : Members are free under the
- 2022-03-05 11:23:56下载
- 积分:1
-
used to read and write those problems into priority
用于阅读者和写入者问题之写入者优先-used to read and write those problems into priority
- 2023-05-23 15:05:03下载
- 积分:1
-
多线程编程,异步操作实例,如Mutex等
多线程编程,异步操作实例,如Mutex等-Multi-threaded programming, examples of asynchronous operation, such as Mutex, etc.
- 2023-07-26 10:30:04下载
- 积分:1
-
published in 2005, two of code, code demonstrating the use of Visual C since the...
刊登在2005年第2期的代码,代码演示了在Visual C++中利用自定义消息实现线程间通讯。-published in 2005, two of code, code demonstrating the use of Visual C since the definition of news to achieve communication between threads.
- 2022-01-30 10:08:01下载
- 积分:1