modify the task.md title

This commit is contained in:
Yan_yan 2020-11-10 15:25:58 +08:00
parent 6aaf750d74
commit e46df58f68
4 changed files with 4 additions and 7 deletions

View File

@ -12,8 +12,7 @@ const sidebar = {
'/doc/component/fs',
'/doc/component/drvmodel',
'/doc/component/humancompter',
'/doc/component/lib',
'/doc/component/gui'
'/doc/component/lib'
],
'board': [
'/doc/board/stm32f407-st-discovery',

View File

@ -10,4 +10,3 @@
* [第三方库](/doc/component/lib.md)
* [GUI图形库](/doc/component/gui.md)

View File

@ -1 +0,0 @@
# GUI引擎

View File

@ -1,6 +1,6 @@
# 任务
# 任务管理
* [任务管理](#management)
* [任务机制](#management)
* [任务状态](#state)
* [任务调度](#sched)
* [任务结构定义](#struct)
@ -14,7 +14,7 @@
<span id="management"></span>
## 任务管理
## 任务机制
任务task是XiUOS中处理器使用权分配的最小单位。每个任务有自己的程序栈与寄存器上下文在多处理器平台上可以互不干扰地同时运行但单个处理器上任意时刻只能有一个任务在运行。用户可以使用XiUOS提供的接口创建任意数量的任务。内核会对系统中的所有任务按照一定策略抢占式优先级或先来先服务进行调度以最大限度地利用处理器资源。用户可以使用XiUOS提供的接口创建任意数量的任务。