Platform API Reference
Platform portability layer
IotSemaphore_Post

Post to (unlock) a semaphore. This function should only return when the semaphore post succeeds; it is not expected to fail.

void IotSemaphore_Post( IotSemaphore_t * pSemaphore );

This function increments the count of a semaphore. Any thread may call this function to increment a semaphore's count.

Parameters
[in]pSemaphoreThe semaphore to unlock.
IotSemaphore_t
_IotSystemSemaphore_t IotSemaphore_t
The type used to represent semaphores, configured with the type _IotSystemSemaphore_t.
Definition: iot_platform_types.h:97
IotSemaphore_Post
void IotSemaphore_Post(IotSemaphore_t *pSemaphore)
Post to (unlock) a semaphore. This function should only return when the semaphore post succeeds; it i...