搜索资源列表
实验一
- 选择一个调度算法,实现处理器调度。 二、实习目的 在采用多道程序设计的系统中,往往若干个进程同时处于就绪状态。当就绪进程个数大于处理器数时,就必须依照某种策略来决定那些进程优先占有处理器。本实习模拟在单处理器情况下的处理器调度,加深了解处理器调度的工作。 -choose a scheduling algorithm to achieve processor scheduling. 2, internships aim of the introduction of multi-chan
os processing
- 进程状态转化程序实现,这是在学习操作系统过程的时候,我做的一个课程实验-process into a state program, which is in the process of learning the operating system, I do an experimental courses
code
- 实验一 用信号量来实现读者-写者问题 (一) 实验目的 理解进程(或线程)及信号量的概念 (二) 实验内容 1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 当buffer中没有数据时,应等待,直到buffe
dtfp
- 多个进程动态地共享系统的资源可能会产生死锁现象。用按序分配策略实现资源分配。-Dynamic multiple processes to share system resources may produce deadlock. Allocation strategy with sequential allocation of resources.
Pipe5
- 利用多线程异步方式实现Windows应用程序进程和控制台命令行应用程序进程之间的通信。-multiprocess and multithread technologies are applied to implement interaction between windows application process and console command line application process.
getCommondline
- 能够获取系统中指定进程的命令行参数,通过打开进程读取固定地址实现-Be able to obtain the specified process in the system command line parameters, fixed address read by opening the process to achieve
Process
- 在VC++环境中,通过C语言编程,实现对进程的创建,包括进程创建时间,以及进程名字的编写-In VC++ environment, through the C programming language, the creation process, including process creation time, as well as the process name writing
CX
- 设计一个按优先数调度算法实现处理器调度的程序 提示: (1)假定系统有5个进程,每个进程用一个PCB来代表。PCB的格式为: 进程名、指针、要求运行时间、优先数、状态。 进程名——P1~P5。 指针——按优先数的大小把5个进程连成队列,用指针指出下一个进程PCB的首地址。 要求运行时间——假设进程需要运行的单位时间数。 优先数——赋予进程的优先数,调度时总是选取优先数大的进程先执行。 状态——假设两种状态,就绪,用R表示,和结束,用E表示。初始状态都为就绪状态。
WMITest
- 利用WMI实现的对系统进程、服务名称监测。vc2008下编译通过-Name the system process, service monitoring implementation using WMI. Vc2008 compiled by
2
- 实验二、进程控制(15分) 设计并实现Unix的“time”命令。“mytime”命令通过命令行参数接受要运行的程序,创建一个独立的进程来运行该程序,并记录程序运行的时间。 在Windows下实现: 使用CreateProcess()来创建进程 使用WaitForSingleObject()在“mytime”命令和新创建的进程之间同步 调用GetSystemTime()来获取时间 在Linux下实现: 使用fork()/execv()来创建进程
showallprocess
- 进程管理小程序,实现windows进程详细信息展示等。-show all process small tool