Penguin
Blame: SDL_DestroySemaphore(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_DestroySemaphore(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!DestroySemaphore
2 !!!SDL_!DestroySemaphore
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 EXAMPLES
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!DestroySemaphore- Destroys a semaphore that was created by ''SDL_!CreateSemaphore''.
1 perry 13 !!SYNOPSIS
14
15
16 __#include
17 __
18
19
2 perry 20 __void SDL_!DestroySemaphore__(__SDL_sem
1 perry 21 *sem__);
22 !!DESCRIPTION
23
24
2 perry 25 __SDL_!DestroySemaphore__ destroys the semaphore pointed
1 perry 26 to by __sem__ that was created by
2 perry 27 __SDL_!CreateSemaphore__. It is not safe to destroy a
1 perry 28 semaphore if there are threads currently blocked waiting on
29 it.
30 !!EXAMPLES
31
32
33 if (my_sem != NULL) {
2 perry 34 SDL_!DestroySemaphore(my_sem);
1 perry 35 my_sem = NULL;
36 }
37 !!SEE ALSO
38
39
2 perry 40 __SDL_!CreateSemaphore__, __SDL_!SemWait__,
41 __SDL_!SemTryWait__, __SDL_!SemWaitTimeout__,
42 __SDL_!SemPost__, __SDL_!SemValue__
1 perry 43 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.