登录
首页 » Java » Process

Process

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

代码说明:

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

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

发表评论

0 个回复

  • YUV420SP-master
    这个安卓源码包含两个工程,分别用JAVA 和 NDK 本地代码去实时转换摄像机的每帧颜色,可以用来了解、比较Java与NDK的效率的不同,对相关摄像机,NDK/JNI,颜色编程等技术有一定了解(The Android source code contains two projects, namely with JAVA and NDK native code to convert each frame in real time color video camera can be used to understand, compare the efficiency of Java and NDK different, the relevant camera, NDK/JNI, color programming technology have some understanding)
    2014-01-05 15:36:14下载
    积分:1
  • log_update
    日志更新文件,关于JAVA的一个日志文件(Update log files, log files on a JAVA)
    2011-06-18 22:11:12下载
    积分:1
  • 学生成绩管理系统
    说明:  1. 能够实现根据以下关键字查询:学生姓名 、学号、班级、课程名称。 2. 能够实现按照单科成绩、总成绩、平均成绩、学号排序。 3. 能够实现学生信息的插入、删除和修改。 4. 能够查询每个课程的最高分、最低分及相应学生姓名、班级和学号。 5. 能够查询每个班级某门课程的优秀率(90 分及以上)、不及格率,并进行排序。(1. Be able to query according to the following keywords: student name, student number, class, course name. 2. It can be sorted according to single subject score, total score, average score and student number. 3. Be able to insert, delete and modify student information. 4. Be able to query the highest score and lowest score of each course and the corresponding student name, class and student number. 5. Be able to query the excellent rate (90 points and above) and failure rate of a course in each class, and sort them.)
    2021-03-17 19:19:21下载
    积分:1
  • studyjavaNote
    我学习java三年多了,自己的一点心得给大家那去看吧!(I learned java more than three years experience to his point that to see it all!)
    2010-11-17 02:00:00下载
    积分:1
  • 239Java基于SSM网上试衣间设计
    说明:  目的能在系统上完成简单的试衣效果,传输身高体重数据,在系统上显示试穿衣服的视频效果。(Objective to achieve a simple fitting effect on the system, transfer height and weight data, and display the video effect of fitting on the system.)
    2019-11-28 16:55:57下载
    积分:1
  • 断点续传
    运用多线程及java网络编程技术完成的一个j2se小程序。(The use of multi-threaded and Java network programming technology to complete a J2SE applet.)
    2017-11-01 17:01:09下载
    积分:1
  • java2
    Java教程2-3章全部示例程序 源代码,可供初学者学习(Java Tutorial 2-3 Chapter Full sample program source code, for beginners to learn)
    2010-05-25 16:20:42下载
    积分:1
  • emp
    雇员java学习题目,大学java初学者实验(Employee java learning topics)
    2019-07-04 22:27:47下载
    积分:1
  • MimeMessageTest
    This is a series of unit tests for the MimeMessage class. These tests must be locally complete - no server(s) required.
    2013-11-28 12:34:27下载
    积分:1
  • MyMicro-channel
    本软件基本实现微信的所有UI效果。具备如下功能点: 登录、功能指引、退出对话框、设置界面、会话界面、右上角功能键、详细资料头像点击放大效果、摇一摇 摇一摇判断“shake”部分来源于网络,具体地址忘了。。。。摇一摇的动画效果是我做的,支持真机摇一摇哦! 新特点:主界面使用的是viewpager 支持手势也支持底部图标点击!(比原版微信tabhost强多了!) 效果图:(The software basically all the UI micro-channel effects. Have the following functions: Login, functional guidelines, exit the dialog box, set the interface, session interface, top right function key, detailed information Picture Click to enlarge effects, Shake Shake judgment "shake" section from the network, the specific address forgotten. . . . Shake animation is what I do to support the real machine shake Oh! New features: The main interface using viewpager support gestures are also supported at the bottom of the icon click! (Stronger than the original micro-channel tabhost more!) Effect diagram:)
    2013-11-07 10:57:03下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载