Update 05.SDK_Manual.md, 修改内核API

补全了task_os_delay 的返回值
This commit is contained in:
Jerry.c 2023-08-15 20:57:59 +08:00 committed by GitHub
parent 56707e7bce
commit 30b282e1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -316,6 +316,14 @@ k_err_t tos_task_delay(k_tick_t delay);
K_ERR_DELAY_ZERO delay 值为零(非法)。
K_ERR_IN_IRQ 试图在中断服务程序ISR延时
K_ERR_SCHED_LOCKED 已经上锁( 上锁后不能延时当前任务 否则导致无法调度)
K_ERR_DELAY_FOREVER 使用suspend 代替这个forever 的delay
### tos_task_delay_abort
```c