-
process of the operating system scheduler
操作系统进程调度程序-process of the operating system scheduler
- 2023-05-18 19:35:04下载
- 积分:1
-
every 5 minutes to check the current system that process memory used most, and w...
每隔5分钟查看一下当前系统中那个进程占用的内存最大,并写日志文件-every 5 minutes to check the current system that process memory used most, and write log files
- 2022-02-12 23:33:43下载
- 积分:1
-
在Visual C++6.0下利用共享内存、消息实现内部进程通信
在Visual C++6.0下利用共享内存、消息实现内部进程通信-In the Visual C++ 6.0 use shared memory, message realize internal process communication
- 2022-04-18 13:52:09下载
- 积分:1
-
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。...
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。-a multi-tasking applications. Color wheel with four applications, each color wheel has its own threads to run. Two of them use OnIdle function; The other two were used as the independent threads running.
- 2022-05-17 14:55:08下载
- 积分:1
-
task simulation program. The first window must show a series of incremental numb
建立了一个包含四个窗口的多任务仿真程序。第一个窗口必须显示一系列递增的数字,第二个窗口必须显示一系列递增的素数,第三个窗口必须显示斐波那契数列(斐波那契数列0和1从每个数字的第一个开始是前两个和几个-即0、1、1、2、3、5、8等)。图中的三扇窗户立在窗户底部或滚动,或自行清除窗户内的物品。第四个窗口必须显示任意半径的圆,并且该过程必须按Escape键终止。
- 2022-02-16 02:25:49下载
- 积分:1
-
采用visual c++.net编写的动态链接库与多线程、多进程教学实例
采用visual c++.net编写的动态链接库与多线程、多进程教学实例-The use of visual c++. Net prepared by dynamic-link library with multi-threaded, multi-process teaching examples
- 2022-04-14 14:37:53下载
- 积分: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
-
VC多线程编程大全的好书,值得推荐哟,欢迎下载!
VC多线程编程大全的好书,值得推荐哟,欢迎下载!-VC multithreaded programming accessible books worth recommending yo welcome to download!
- 2022-02-05 22:15:13下载
- 积分:1
-
- 2023-02-01 07:15:03下载
- 积分:1
-
与pssetcreateprocessnotifyroutine,pssetcreatethreadnotifyroutine线程问题。
用PsSetCreateProcessNotifyRoutine,PsSetCreateThreadNotifyRoutine来进行进程线程监控我想大家已经都非常熟练了.sinister在一文中已经实现得很好了.前一段时间看到网上有人在研究监视远线程的文章,比较有意思.就写代码玩一玩.这之中就出现了一些问题.比方说直接用sinister的代码的话,是不能动态卸载的,因为他在安装了进线程监视函数后没有进行清除动作,造成在动态卸载时蓝屏,BUGCHECK为0x000000ce,错误码为:DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS.很显然,在驱动退出后,一些进线程操作仍然在访问原来的地址,造成出错.在XP后,微软给出了一个函数PsRemoveCreateThreadNotifyRoutine用来清除线程监视函数(清除进程监视的就是PsSetCreateProcessNotifyRoutine).我一直奇怪ICESWORD在2000中是怎么做到进线程监视的.后来才发现,在运行icesword后释放出一个detport.sys文件,然后一直在系统中存在着没有卸载掉.只是把它隐藏了而已^_^.这不是个好消息,难道我为了测试一个驱动,测试一次就得重启一次吗?呵呵,肯定不是啊,所以想办法搞定它.-with PsSetCreateProcessNotifyRoutine, PsSetCreateThreadNotifyRoutine thread to process control, I think we had a very skilled. Sinister In "" A text has been achieved in very good. Some time ago the Internet was seen in the surveillance study of the threads from article more interesting. Write playing with a code to play. on this issue, there have been some proble
- 2023-06-28 21:35:02下载
- 积分:1