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

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

于 2022-05-01 发布 文件大小:3.43 kB
0 110
下载积分: 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 个回复

  • 7281
    7281读写C51源程序(键盘与显示),及其相关资料,偶强两天调出来的 与大家共享(7281 to read and write source code C51 (keyboard and display), and related information, even strong two days out of tune with the U.S. share)
    2007-08-30 14:59:02下载
    积分:1
  • 最短路径C语言算法
    本是代码是有向图中任意两点间经过指定节点的最短路径算法
    2022-08-16 05:49:09下载
    积分:1
  • Tde
    模拟正弦信号计算互相关时延,利用对两信号进行互相关函数的计算来找出互相关系数的最大值,从而计算出两段波形相同的信号的时延(Analog sinusoidal signal delay calculation of the cross-correlation)
    2013-05-22 11:25:45下载
    积分:1
  • Hello_world_ok
    Arduino working with I2L lcd
    2015-03-11 04:41:37下载
    积分:1
  • ds3231
    PIC芯片使用DS3231的驱动源代码,强大而且可以在适用于很多场合。适合初学者(PIC chip using DS3231 driver source code)
    2015-03-16 14:39:23下载
    积分:1
  • 01_basic_led_blink
    说明:  潘多拉开发板rt-thread例程,例程是最简单的LED程序(Pandora development board RT-Thread example)
    2019-03-04 15:55:18下载
    积分:1
  • CircleBuffer
    模板类名:CircleBuffer 功 能:环形缓冲区 优 点:相对于队列来说减少了很多对地址的反复操作,增加稳定性。(Template class name: CircleBuffer function: the ring buffer Pros: relative to the queue for reduced many repeated operation of the address, to increase stability.)
    2013-03-29 23:07:39下载
    积分:1
  • nrf24l01ceshi
    程序主要实现了无线模块nrf24l01传输温度的,功能。(Program achieved a major wireless module nrf24l01 transmission temperature function.)
    2014-01-20 17:04:17下载
    积分:1
  • linecount3.6.3
    计算代码中行数的软件,下载后直接解压既可以使用,把源代码直接拖到界面里使用(count the line !!)
    2021-04-29 15:38:43下载
    积分:1
  • dws2src11
    DWS Source . Delphi W SCript.(DWS Source. Delphi W SCript.)
    2007-02-03 21:24:23下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载