Differences between current version and predecessor to the previous major change of SDL_SemPost(3).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:47 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:47 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_SemPost
-!!!SDL_SemPost
+SDL_!
SemPost
+!!!SDL_!
SemPost
NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
@@ -9,42 +9,42 @@
----
!!NAME
-SDL_SemPost- Unlock a semaphore.
+SDL_!
SemPost- Unlock a semaphore.
!!SYNOPSIS
__#include
__
-__int SDL_SemPost__(__SDL_sem *sem__);
+__int SDL_!
SemPost__(__SDL_sem *sem__);
!!DESCRIPTION
-__SDL_SemPost__ unlocks the semaphore pointed to by
+__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''.
+__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);
+SDL_!
SemPost(my_sem);
!!SEE ALSO
-__SDL_CreateSemaphore__, __SDL_DestroySemaphore__,
-__SDL_SemWait__, __SDL_SemTryWait__,
-__SDL_SemWaitTimeout__, __SDL_SemValue__
+__SDL_!
CreateSemaphore__, __SDL_!
DestroySemaphore__,
+__SDL_!
SemWait__, __SDL_!
SemTryWait__,
+__SDL_!
SemWaitTimeout__, __SDL_!
SemValue__
----