Results 1 - 7 of 7 results out of about 6839 pages. (2.98 seconds)
- SDL_SemWait . . . 6 matches
- ...
= SDL_SemWait =
Use this function to wait until a semaphore has a positive value and then decrements it.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_SemWait(...
- SDL_SemWaitTimeout . . . 5 matches
- ...
= SDL_SemWaitTimeout =
Use this function to wait until a semaphore has a positive value and then decrements it.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_S...
- SDL_CreateSemaphore . . . 3 matches
- ... SDL_SemPost(sem);
}
Thread B:
while (!SDL_AtomicGet(&done)) {
SDL_SemWait(sem);
if (data_available()) {
get_data_from_queue();
}
...
- SDL_SemTryWait . . . 2 matches
- ...ns ==
.[[SDL_CreateSemaphore]]
.[[SDL_DestroySemaphore]]
.[[SDL_SemPost]]
.[[SDL_SemValue]]
.[[SDL_SemWait]]
.[[SDL_SemWaitTimeout]]
----
[[CategoryAPI]], [[CategoryMutex]]...
- SDL_SemPost . . . 2 matches
- ...==
.[[SDL_CreateSemaphore]]
.[[SDL_DestroySemaphore]]
.[[SDL_SemTryWait]]
.[[SDL_SemValue]]
.[[SDL_SemWait]]
.[[SDL_SemWaitTimeout]]
----
[[CategoryAPI]], [[CategoryMutex]]...
- SDL_DestroySemaphore . . . 2 matches
- ...unctions ==
.[[SDL_CreateSemaphore]]
.[[SDL_SemPost]]
.[[SDL_SemTryWait]]
.[[SDL_SemValue]]
.[[SDL_SemWait]]
.[[SDL_SemWaitTimeout]]
----
[[CategoryAPI]], [[CategoryMutex]]...
- CategoryAPI . . . 1 match
- ...##master-page:CategoryTemplate
##master-date:Unknown-Date
#format wiki
#language en
= SDL 2.0 API by Name =
<<TableOfContents()>>
== Hints ==
<<FullSearchCached(category:Catego...
