登录
首页 » Java » Process

Process

于 2018-11-29 发布 文件大小:4KB
0 204
下载积分: 1 下载次数: 1

代码说明:

  java进程调度(优先级)进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。每个进程有一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 进程的优先数及需要的运行时间可以事先人为地指定(也可以由随机数产生)。进程的到达时间为进程输入的时间。进程的运行时间以时间片为单位进行计算。每个进程的状态可以是就绪 W(Wait)、运行R(Run)、或完成F(Finish)三种状态之一。就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。如果运行一个时间片后,进程的已占用 CPU时间已达到所需要的运行时间,则撤消该进程,如果运行一个时间片后进程的已占用CPU时间还未达所需要的运行时间,也就是进程还需要继续运行,此时应将进程的优先数减1(即降低一级),然后把它插入就绪队列等待CPU。每进行一次调度程序都打印一次运行进程、就绪队列、以及各个进程的 PCB,以便进行检查。  (Java process scheduling)

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

发表评论

0 个回复

  • CProIssue
    数字证书注册和签发系统,利用JCA和JCE实现数字证书的注册,并提供一个密钥库管理以及私钥的存储和导出以及传输得安全机制(Digital certificate registration and issuance system, the use of JCA and JCE realize digital certificate registration, and provide a key database management, and private key storage and export, as well as a security mechanism for transmission)
    2007-07-25 11:36:10下载
    积分:1
  • sensitive_words
    该代码实现了屏蔽敏感词汇的说明和修改,请查收(sensitive words)
    2014-12-30 14:00:33下载
    积分:1
  • WordCount
    hadoop mepreduce wordcount 代码(hadoop mepreduce wordcount)
    2013-08-08 10:13:29下载
    积分:1
  • LargeIntegerOperation
    数制转换和运算方法。用Java语言编写一个十六进制大数运算程序 (Number system conversion and computing methods. Java language using a hexadecimal calculation procedures of large numbers)
    2009-06-30 13:13:32下载
    积分:1
  • ListOfInternalSelectionViews
    A list of {@link InternalSelectionView}s paramatarized by the number of items, how many rows in each item, and how tall each item is.
    2013-11-28 11:00:07下载
    积分:1
  • developer-util
    java poi 操作Excel封装,zip,多文件装读取(Java POI operation Excel encapsulation)
    2018-04-22 23:07:49下载
    积分:1
  • commons-fileupload
    javabean开发的jsp上传文件,支持多文件上传(javabean development jsp upload documents to support more file uploads)
    2006-06-21 19:34:48下载
    积分:1
  • Java
    这是一本学习Java语言非常好的书,适合于初学者,并具有一定深度。(This is a very good book to learn the Java language, suitable for beginners, and has a certain depth.)
    2013-10-16 13:37:25下载
    积分:1
  • ifs1
    生成Sierpinski垫片的IFS方法 java代码(IFS method for generating Sierpinski gasket)
    2014-01-20 12:11:08下载
    积分:1
  • 仓库管理系统
    说明:  仓库管理系统主要包括以下功能。 1. 仓库管理:主要实现对仓库进货、出货、商品调拨和商品图片信息进行管理 2. 商品查询:主要实现查询商品的库存情况,对商品的调拨、进货、出货、缺货情况和商评的图片信息做出记录 3. 系统设置:系统设置实现供应商信息、仓库信息和账号信息的添加、删除和修改。(The warehouse management system mainly includes the following functions. 1. Warehouse management: mainly realizes the management of warehouse purchase, delivery, commodity allocation and commodity picture information. 2. Commodity inquiry: Mainly to inquire about the inventory of commodities, and record the allocation, purchase, delivery, stock out and the picture information of the evaluation of commodities. 3. System settings: System settings can add, delete and modify supplier information, warehouse information and account information.)
    2019-06-03 09:09:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载