文件名称:scheduler
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-05-19
- 文件大小:
- 743kb
- 下载次数:
- 1次
- 提 供 者:
- 逍*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
操作系统任务调度问题。操作系统任务分为系统任务和用户任务两种。其中,系统任务的优先级 < 50,用户任务的优先级 >= 50且 <= 255。优先级大于255的为非法任务,应予以剔除。现有一任务队列task[],长度为n,task中的元素值表示任务的优先级,数值越小,优先级越高。函数scheduler实现如下功能,将task[] 中的任务按照系统任务、用户任务依次存放到 system_task[] 数组和 user_task[] 数组中(数组中元素的值是任务在task[] 数组中的下标),并且优先级高的任务排在前面,数组元素为-1表示结束。-Operating system task scheduling problem. Operating system tasks are divided into two kinds of system tasks and user tasks. Among them, the system task priority < 50, user task priority> = 50 and < = 255. Priority greater than 255 illegal task, should be removed. Present a task queue task [], length n, task element values indicate priority tasks, the smaller the value, the higher the priority. Scheduler function to achieve the following functions will task [] tasks in accordance with the system tasks, user tasks sequentially stored system_task [] array and user_task [] array (the value of elements in the array subscr ipt task in task [] array) and high priority tasks top surface,-1 indicates the end of the array elements.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
scheduler\Debug\scheduler.exe
.........\.....\scheduler.exe.manifest
.........\.....\scheduler.ilk
.........\.....\scheduler.pdb
.........\ipch\scheduler-529da672\scheduler-103a85ab.ipch
.........\scheduler\Debug\CL.read.1.tlog
.........\.........\.....\CL.write.1.tlog
.........\.........\.....\link.4184.read.1.tlog
.........\.........\.....\link.4184.write.1.tlog
.........\.........\.....\link.6400.read.1.tlog
.........\.........\.....\link.6400.write.1.tlog
.........\.........\.....\link.read.1.tlog
.........\.........\.....\link.write.1.tlog
.........\.........\.....\mt.read.1.tlog
.........\.........\.....\mt.write.1.tlog
.........\.........\.....\scheduler.exe.intermediate.manifest
.........\.........\.....\scheduler.lastbuildstate
.........\.........\.....\scheduler.log
.........\.........\.....\scheduler.obj
.........\.........\.....\scheduler.vcxprojResolveAssemblyReference.cache
.........\.........\.....\scheduler.write.1.tlog
.........\.........\.....\vc100.idb
.........\.........\.....\vc100.pdb
.........\.........\scheduler.cpp
.........\.........\scheduler.vcxproj
.........\.........\scheduler.vcxproj.filters
.........\.........\scheduler.vcxproj.user
.........\scheduler.sdf
.........\scheduler.sln
.........\scheduler.suo
.........\ipch\scheduler-529da672
.........\scheduler\Debug
.........\Debug
.........\ipch
.........\scheduler
scheduler