登录
首页 » C# » 这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表...

这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表...

于 2022-05-01 发布 文件大小:3.43 kB
0 117
下载积分: 2 下载次数: 1

代码说明:

这里没有任何的API调用 只是模拟,我给进程设定了自己的语法,输入一般的字符cpu调用时只是正常输出,如果遇到 $ 表示该进程要调用系统资源后面必须跟一个数字表示占有的时间,如果资源闲置则占有资源否则阻塞,等资源释放在占有资源。进程的调用算法我采用的是时间片轮转算法并有所改进,当某个进程从阻塞队列释放后,他将把以前因为等待资源而被浪费的时间补回来。 希望大家多提意见-here no API calls simulations, I set to process its own grammar, the characters importation cpu called only when normal output, said if the $ encountered in the process of system resources to call back with a figure must occupy the time said that if the idle occupies resources Otherwise obstruction, and other resources in the release of resources. Calling the process of the algorithm I use is time-rotate and improved algorithm, a process blocked from Queue After his release, he will wait before because resources were wasted by the time back up. We hope to speak up

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 《程序设计与数据结构》周立功电子书
    说明:  《程序设计与数据结构》 周立功 电子书, 高清原版(Programming and Data Structure Zhou Ligong E-book)
    2020-06-25 19:20:01下载
    积分:1
  • Modbus Tools (1)
    说明:  串口调试,串口设备模拟,支持32/64位系统。(Serial debugging, serial device simulation)
    2020-06-20 08:00:01下载
    积分:1
  • chart
    说明:  点对点的聊天工具,公司不让QQ,SKYPE,就动手写了个超小巧的聊天工具(Peer-to-peer chat tool company from QQ, SKYPE, on hand to write a super-compact chat tools)
    2008-10-06 21:39:06下载
    积分:1
  • 迭代法求根
    用迭代法求 x=根号a。求平方根的迭代公式为:X(n+1)=(Xn+a/Xn) /2。(Iterative method is used to find x = root a. The iteration formula for finding square root is X(n+1)=(Xn+a/Xn)/2.)
    2020-06-24 19:20:02下载
    积分:1
  • 基于STM32F103C8 的串口通信程序
    基于STM32F103C8 的串口通信程序,希望有用。
    2022-01-25 17:09:59下载
    积分:1
  • 病态方程组
    病态方程组的运算(CSM Group Operational)
    2004-09-02 00:21:16下载
    积分:1
  • C#编写的文档读写
    这是一个用于读取和写入到一个文件中的程序。程序是 C# 语言编写的。
    2023-02-18 05:35:03下载
    积分:1
  • SeePic
    SeePIC 该程序可以查看BMP格式的图像文件,使用了Imageload.lib(Imageload.lib VC++ for bmp file view)
    2012-03-01 11:23:42下载
    积分:1
  • windows下多线程
    Windows下的多线程测试代码,内有注释,可供初学者学习使用
    2022-04-11 01:51:59下载
    积分:1
  • 简单的系统设备枚举
    simple system devices enumeration
    2023-07-18 12:45:03下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载