modify the content under kernel/task.md

This commit is contained in:
Yan_yan 2020-11-13 11:02:56 +08:00
parent 80658cbde8
commit e50db19540
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ struct xs_utask
xs_uint32 stack_size; xs_uint32 stack_size;
xs_uint8 prio; xs_uint8 prio;
}; };
typedef struct xs_utask struct xs_utask; typedef struct xs_utask xs_utask_x;
struct task_descriptor* xs_UserTaskCreate(xs_utask_x task); struct task_descriptor* xs_UserTaskCreate(xs_utask_x task);
``` ```
@ -162,7 +162,7 @@ xs_int32 xs_UserTaskCoreCombine(struct task_descriptor task, xs_uint8 coreid);
| 参数 | 描述 | | 参数 | 描述 |
| --- | --- | | --- | --- |
| task_id | 待绑定的任务描述符 | | task_id | 待绑定的任务描述符 |
| coreid | 绑定的处理器ID | | coreid | 绑定的处理器ID |
```c ```c
xs_int32 xs_UserTaskCoreUncombine(struct task_descriptor task); xs_int32 xs_UserTaskCoreUncombine(struct task_descriptor task);