#pragma section-numbers off #pragma camelcase off = SDL_SemPost = Use this function to atomically increment a semaphore's value and wake waiting threads. <> == Syntax == {{{#!highlight cpp int SDL_SemPost(SDL_sem* sem) }}} == Function Parameters == ||'''sem'''||the semaphore to increment|| == Return Value == Returns 0 on success or a negative error code on failure ; call [[SDL_GetError]]() for more information. == Code Examples == <> == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_CreateSemaphore]] .[[SDL_DestroySemaphore]] .[[SDL_SemTryWait]] .[[SDL_SemValue]] .[[SDL_SemWait]] .[[SDL_SemWaitTimeout]] ---- [[CategoryAPI]], [[CategoryMutex]]