SDL_SemPost
NAMESYNOPSIS
DESCRIPTION
RETURN VALUE
EXAMPLES
SEE ALSO
NAME
SDL_SemPost − Unlock a semaphore.
SYNOPSIS
#include "SDL.h" #include "SDL_thread.h"
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
More Linux Commands
manpages/cerfcf.3.html
cerfcf(3) - complex error function - Linux manual page......
The (unimplemented) function cerf() is the complex version of the error function. erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(-t*t) dt. The function cerfc
manpages/printw.3ncurses.html
printw(3ncurses) - print formatted output in curses windows
printw.3ncurses - The printw, wprintw, mvprintw and mvwprintw routines are analogous to printf [see printf(3)]. In effect, the string that would be output by pr
manpages/intel_upload_blit_small.1.html
intel_upload_blit_small(1) - microbenchmark of Intel GPU per
intel_upload_blit_small is a microbenchmark tool for DRM performance. It should be run with kernel modesetting enabled, and may require root privilege for corre
manpages/squid_session.8.html
squid_session(8) - Squid session tracking external acl group
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle timeout timer. Intended us
manpages/filetest.3pm.html
filetest(3pm) - Perl pragma to control the filetest permissi
This pragma tells the compiler to change the behaviour of the filetest permission operators, -r -w -x -R -W -X (see perlfunc). The default behaviour of file tes
manpages/erfcl.3.html
erfcl(3) - complementary error function - Linux manual page
The erfc() function returns the complementary error function of x, that is, 1.0 - erf(x). RETURN VALUE On success, these functions return the complementary erro
manpages/attroff.3ncurses.html
attroff(3ncurses) - curses character and window attribute co
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo
manpages/menu_opts_off.3menu.html
menu_opts_off(3menu) - set and get menu options (Man Page)
The function set_menu_opts sets all the given menus option bits (menu option bits may be logically-ORed together). The function menu_opts_on turns on the given
manpages/cur_term.3ncurses.html
cur_term(3ncurses) - curses terminfo global variables.......
This page summarizes variables provided by the curses librarys low-level terminfo interface. A more complete description is given in the curs_terminfo(3X) manua
manpages/gnutls_certificate_client_set_retrieve_function.3.html
gnutls_certificate_client_set_retrieve_function.3...........
gnutls_certificate_client_set_retrieve_function.3 - This function sets a callback to be called in order to retrieve the certificate to be used in the handshake.
manpages/Tcl_DictObjPut.3.html
Tcl_DictObjPut(3) - manipulate Tcl objects as dictionaries
Tcl dictionary objects have an internal representation that supports efficient mapping from keys to values and which guarantees that the particular ordering of
manpages/Tcl_ChannelGetOptionProc.3.html
Tcl_ChannelGetOptionProc(3) - procedures for creating and ma
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for
