ucosiii中任意优先级的任务等待某一信号量,请使用下边的函数调用:
OSSemPendAbort (OS_SEM *p_sem, OS_OPT opt, OS_ERR *p_err)
如有疑问,请参见这个函数的描述:
* ABORT WAITING ON A SEMAPHORE
*
* Description: This function aborts & readies any tasks currently waiting on a semaphore.
This function should be used to fault-abort the wait on the semaphore,
* rather than to normally signal the semaphore via OSSemPost().
*
ucosiii中任意优先级的任务等待某一信号量,请使用下边的函数调用:
OSSemPendAbort (OS_SEM *p_sem, OS_OPT opt, OS_ERR *p_err)
如有疑问,请参见这个函数的描述:
* ABORT WAITING ON A SEMAPHORE
*
* Description: This function aborts & readies any tasks currently waiting on a semaphore.
This function should be used to fault-abort the wait on the semaphore,
* rather than to normally signal the semaphore via OSSemPost().
*
举报