-
利用多线程实现程序保护,简单的示范程序,帮助理解多线程的是运行机制...
利用多线程实现程序保护,简单的示范程序,帮助理解多线程的是运行机制-Realize the use of multi-threaded process protections, the simple model procedures to help understand multi-threading is the operating mechanism
- 2022-01-26 00:12:46下载
- 积分:1
-
启动该服务器程序后,可用telnet machine port命令连接,其中machine为 本机名或地址,port为程序中指定的端口。也可以编写特定的客户机软...
启动该服务器程序后,可用telnet machine port命令连接,其中machine为 本机名或地址,port为程序中指定的端口。也可以编写特定的客户机软件通过TC P的Socket套接字建立连接。-activate the server, telnet can be used machine orders port connectivity, machine-machine or address, port procedures as specified ports. Also the preparation of specific client software TC P Socket establish a connection.
- 2023-03-18 12:10:03下载
- 积分:1
-
一个不错的通过设置任意多个事件(Event)来激发多个任务函数的线程类。...
一个不错的通过设置任意多个事件(Event)来激发多个任务函数的线程类。- Is good (Event) stimulates many duties function through
establishment wilfully many events the line regulation class.
- 2022-02-05 23:11:15下载
- 积分:1
-
一个简单地多线程例子
一个简单地多线程例子-a simple example of multi thread
- 2022-05-29 23:08:38下载
- 积分:1
-
series of multi
多线程编程系列。一个线程池实现的实例代码。很好。-series of multi-threaded programming. A thread pool to achieve the example code. Very good.
- 2022-07-17 00:04:04下载
- 积分:1
-
VB真正多线程代码!!!用VB创建单元线程实现稳定多线程的例子...
VB真正多线程代码!!!用VB创建单元线程实现稳定多线程的例子-Truly multi-threaded VB code! ! ! Using VB to create a stable unit thread realize multi-threaded example
- 2022-04-23 21:19:41下载
- 积分:1
-
此为操作系统实验报告: scan,cscan算法模拟磁盘调度 内含:程序流程图 设计思路 主要源码等等。 简介:磁盘是一种高速、大容量、旋转型、可直接存取的存储...
此为操作系统实验报告: scan,cscan算法模拟磁盘调度 内含:程序流程图 设计思路 主要源码等等。 简介:磁盘是一种高速、大容量、旋转型、可直接存取的存储设备。它作为计算机系统的辅助存储器,担负着繁重的输入输出任务、在多道程序设计系统中,往往同时会有若干个要求访问磁盘的输入输出请求等待处理。系统可采用一种策略,尽可能按最佳次序执行要求访问磁盘的诸输入输出请求。-operating system for this experiment : scan, cscan scheduling algorithm simulation disk containing : flowchart design major source so on. Description : disk is a high-speed, high-capacity, rotating type, direct access storage devices. As computer systems support memory, shoulders the heavy task of input and output, multiple procedures in the system design, while there are often a number of requests to visit disk input and output requests pending.
- 2022-08-15 17:19:56下载
- 积分:1
-
进程管理和线程管理 进程管理和线程管理
进程管理和线程管理 进程管理和线程管理-Process management process management and thread management and thread management
- 2023-04-28 16:45:03下载
- 积分:1
-
可以加载进程,并查看它在内存中程序、连接库及各种数据的地址映象...
可以加载进程,并查看它在内存中程序、连接库及各种数据的地址映象-can loading process, and view it in the memory process, library data and the address mapping
- 2023-01-10 11:55:04下载
- 积分: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