|
| << Previous | Next >> |
INT8U OSSemPost (OS_EVENT *pevent);
Description
- This function signals a semaphore.
Parameters
- pevent
- Pointer to the desired semaphore's event control block
Return value
- OS_NO_ERR
- The call was successful and the semaphore was signaled.
- OS_SEM_OVF
- If the semaphore count exceeded its limit. In other words, you have signalled the semaphore more often than you waited on it with either
OSSemAccept()orOSSemPend().
- OS_ERR_EVENT_TYPE
- If a pointer to a semaphore not passed.
- OS_ERR_PEVENT_NULL
- If pevent is a
NULLpointer.
Library
- OS_SEM.C
See also
- OSSemAccept, OSSemCreate, OSSemPend, OSSemQuery
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |