Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_SemPost(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!SemPost !!!SDL_!SemPost NAME SYNOPSIS DESCRIPTION RETURN VALUE EXAMPLES SEE ALSO ---- !!NAME SDL_!SemPost- Unlock a semaphore. !!SYNOPSIS __#include __ __int SDL_!SemPost__(__SDL_sem *sem__); !!DESCRIPTION __SDL_!SemPost__ unlocks the semaphore pointed to by __sem__ and atomically increments the semaphores value. Threads that were blocking on the semaphore may be scheduled after this call succeeds. __SDL_!SemPost__ should be called after a semaphore is locked by a successful call to ''SDL_!SemWait'', ''SDL_!SemTryWait'' or ''SDL_!SemWaitTimeout''. !!RETURN VALUE Returns __0__ if successful or __-1__ if there was an error (leaving the semaphore unchanged). !!EXAMPLES SDL_!SemPost(my_sem); !!SEE ALSO __SDL_!CreateSemaphore__, __SDL_!DestroySemaphore__, __SDL_!SemWait__, __SDL_!SemTryWait__, __SDL_!SemWaitTimeout__, __SDL_!SemValue__ ----
One page links to
SDL_SemPost(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.