AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
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.