1.4.4.4 OSAL_SEM_Post Function
C
OSAL_RESULT OSAL_SEM_Post(OSAL_SEM_HANDLE_TYPE* semID)Summary
Posts a semaphore or increments a counting semaphore.
Description
This function posts a binary semaphore or increments a counting semaphore. The highest priority task currently blocked on the semaphore will be released and made ready to run.
Precondition
Semaphore must have been created.
Parameters
| Param | Description | 
|---|---|
| semID | Pointer to the Semaphore ID | 
Returns
OSAL_RESULT_TRUE - Semaphore posted
OSAL_RESULT_FALSE - Semaphore not posted
Example
OSAL_SEM_Post(&semSignal);
Remarks
None.
