Skip to content

v0.9.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mysterywolf mysterywolf released this 04 Sep 03:08
· 149 commits to master since this release

[bug fix] 修复p_tcb->TaskState变量,增加以下功能:

#define  OS_TASK_STATE_PEND_TIMEOUT           (OS_STATE)(  3u)  /*   0 1 1     Pend + Timeout                         */
#define  OS_TASK_STATE_DLY_SUSPENDED          (OS_STATE)(  5u)  /*   1 0 1     Suspended + Delayed or Timeout         */
#define  OS_TASK_STATE_PEND_SUSPENDED         (OS_STATE)(  6u)  /*   1 1 0     Suspended + Pend                       */
#define  OS_TASK_STATE_PEND_TIMEOUT_SUSPENDED (OS_STATE)(  7u)  /*   1 1 1     Suspended + Pend + Timeout             */

[add] 增加suspend_example.c例程