Differences between current version and predecessor to the previous major change of SDL_DestroySemaphore(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:41 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:41 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_DestroySemaphore
-!!!SDL_DestroySemaphore
+SDL_!
DestroySemaphore
+!!!SDL_!
DestroySemaphore
NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
@@ -8,36 +8,36 @@
----
!!NAME
-SDL_DestroySemaphore- Destroys a semaphore that was created by ''SDL_CreateSemaphore''.
+SDL_!
DestroySemaphore- Destroys a semaphore that was created by ''SDL_!
CreateSemaphore''.
!!SYNOPSIS
__#include
__
-__void SDL_DestroySemaphore__(__SDL_sem
+__void SDL_!
DestroySemaphore__(__SDL_sem
*sem__);
!!DESCRIPTION
-__SDL_DestroySemaphore__ destroys the semaphore pointed
+__SDL_!
DestroySemaphore__ destroys the semaphore pointed
to by __sem__ that was created by
-__SDL_CreateSemaphore__. It is not safe to destroy a
+__SDL_!
CreateSemaphore__. It is not safe to destroy a
semaphore if there are threads currently blocked waiting on
it.
!!EXAMPLES
if (my_sem != NULL) {
-SDL_DestroySemaphore(my_sem);
+SDL_!
DestroySemaphore(my_sem);
my_sem = NULL;
}
!!SEE ALSO
-__SDL_CreateSemaphore__, __SDL_SemWait__,
-__SDL_SemTryWait__, __SDL_SemWaitTimeout__,
-__SDL_SemPost__, __SDL_SemValue__
+__SDL_!
CreateSemaphore__, __SDL_!
SemWait__,
+__SDL_!
SemTryWait__, __SDL_!
SemWaitTimeout__,
+__SDL_!
SemPost__, __SDL_!
SemValue__
----