文件名称:createpc
介绍说明--下载内容均来自于网络,请自行研究使用
用于进程创建模拟实现,进程的树形结构采用广义二叉树的方式进行存储。可以输入createpc 命令创建进程,输入showdetail 显示每个
进程及其子进程的信息,测试命令解释如下:
1) createpc 创建进程命令。
参数: 1 pid(进程id)、 2 ppid(父进程id)、3 prio(优先级)。
示例: createpc(2,1,2) 。创建一个进程,其进程号为2,父进程号为1,优先级
为2。
2) showdetail 显示进程信息命令。
3) exit 退出命令行。-Used to create a simulation of the process to achieve, the process of tree-structured approach to the generalized binary tree is stored. Enter createpc command to create the process, enter showdetail displayed for each process and its child process the information, test commands are explained as follows: 1) createpc command to create the process. Parameters: 1 pid (process id), 2 ppid (parent process id), 3 prio (priority). Example: createpc (2,1,2). Create a process, its process number is 2, the parent process ID is 1, the priority level of 2. 2) showdetail Display process information using the command. 3) exit out of the command line.
进程及其子进程的信息,测试命令解释如下:
1) createpc 创建进程命令。
参数: 1 pid(进程id)、 2 ppid(父进程id)、3 prio(优先级)。
示例: createpc(2,1,2) 。创建一个进程,其进程号为2,父进程号为1,优先级
为2。
2) showdetail 显示进程信息命令。
3) exit 退出命令行。-Used to create a simulation of the process to achieve, the process of tree-structured approach to the generalized binary tree is stored. Enter createpc command to create the process, enter showdetail displayed for each process and its child process the information, test commands are explained as follows: 1) createpc command to create the process. Parameters: 1 pid (process id), 2 ppid (parent process id), 3 prio (priority). Example: createpc (2,1,2). Create a process, its process number is 2, the parent process ID is 1, the priority level of 2. 2) showdetail Display process information using the command. 3) exit out of the command line.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
createpc\basic.h
........\createpc.cpp
createpc
........\createpc.cpp
createpc