<< Previous | Next >> | |
|
INT8U OSMutexPost( OS_EVENT * pevent );
Description
- This function signals a mutual exclusion semaphore.
Parameters
- pevent
- Pointer to mutex's event control block.
Return value
- OS_NO_ERR
- The call was successful and the mutex was signaled.
- OS_ERR_EVENT_TYPE
- If you didn't pass a pointer to a mutex
- OS_ERR_PEVENT_NULL
pevent
is a null pointer
- OS_ERR_POST_ISR
- Attempted to post from an ISR (invalid for mutexes)
- OS_ERR_NOT_MUTEX_OWNER
- The task that did the post is NOT the owner of the MUTEX.
Library
- OS_MUTEX.C
Dynamic C Functions | << Previous | Next >> | rabbit.com |