modify task param name

This commit is contained in:
Yan_yan 2020-12-24 11:35:39 +08:00
parent 31350abf89
commit 65295b860b
1 changed files with 2 additions and 2 deletions

View File

@ -161,14 +161,14 @@ xs_int32 xs_UserTaskDelete(struct task_descriptor task);
| task| 待删除的任务描述符 |
```c
xs_int32 xs_UserTaskCoreCombine(struct task_descriptor task_id, xs_uint8 core_id);
xs_int32 xs_UserTaskCoreCombine(struct task_descriptor task, xs_uint8 core_id);
```
该函数用于将任务绑定至指定的处理器上。若绑定成功则返回XS_EOK否则返回-XS_ERROR。
| 参数 | 描述 |
| --- | --- |
| task_id | 待绑定的任务描述符 |
| task | 待绑定的任务描述符 |
| core_id | 待绑定的处理器ID |
```c