modify the content under kernel/task.md
This commit is contained in:
parent
80658cbde8
commit
e50db19540
|
@ -132,7 +132,7 @@ struct xs_utask
|
|||
xs_uint32 stack_size;
|
||||
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);
|
||||
```
|
||||
|
@ -162,7 +162,7 @@ xs_int32 xs_UserTaskCoreCombine(struct task_descriptor task, xs_uint8 coreid);
|
|||
| 参数 | 描述 |
|
||||
| --- | --- |
|
||||
| task_id | 待绑定的任务描述符 |
|
||||
| coreid | 带绑定的处理器ID |
|
||||
| coreid | 待绑定的处理器ID |
|
||||
|
||||
```c
|
||||
xs_int32 xs_UserTaskCoreUncombine(struct task_descriptor task);
|
||||
|
|
Loading…
Reference in New Issue