1.1 VxWorks System Tasks (VxWorks的系统Tasks)

来源:互联网 发布:mac开机密码怎么设置 编辑:程序博客网 时间:2024/06/09 16:13

主要内容:

 

根据配置,VxWorks 可以运行一系列的Tasks

 

Root Task : tUsrRoot

 

这个Task 是内核第一个执行的Task。 它产生Logging task、exception task、network task 和 tRlogind daemon

正常情况下,在所有的初始化都结束后,root task将会结束并且被删除

 

Logging Task: tLogTask

 

简单的说是用来log system message用的 ,并且不会影响到当前正在执行的Task啦

 

 

Exception Task: tExcTask   (不太懂。。直接贴英文原文了)

 

The exception task, tExcTask, supports the VxWorks exception handling package
by performing functions that cannot occur at interrupt level. It is also used for
actions that cannot be performed in the current task’s context, such as task suicide.
It must have the highest priority in the system. Do not suspend, delete, or change
the priority of this task. For more information, see the reference entry for excLib.

 

Network Task: tNetTask

这个tNetTask daemon 是用来处理 task-level 的网络事件的。要在初始化的时候启动该task,需要在VxWorks

里面配置INCLUDE_NET_LIB

 

 

Target Agent Task: tWdbTask  (看来是和Tornado 有关系的task)
The target agent task, tWdbTask, is created if the target agent is set to run in task
mode. It services requests from the Tornado target server; for information about
this server, see the Tornado User’s Guide: Overview. Configure VxWorks with the
INCLUDE_WDB component to include the target agent.

 

 

还有一些task是Optional的了

 

tShell 

Shell的服务task ,用来开Shell的

 

 

tRlogind

这个task 用来接收来自 another VxWorks or host PC的 remote login

 

 

tTelnetd  

Telnet 服务大家都懂的 。。这个daemon 用来在VxWorks上开这个服务的

INCLUDE_TELNET

 

tPortmapd

RPC 的服务端了 ,开的话要包含 INCLUDE_RPC

 

 

总结:

1: VxWorks  是会运行一堆 守候Deamon task的 , 需要运行哪些task ,配置一下各种。。INCLUDE_*** 就ok了

2:VxWorks  会和Linux比较像,以后学的时候 很容易类比,可能会快很多。