Packages
sdl2
SDL
Semaphore
Semaphore
get_value
post
try_wait
wait
wait_timeout
Semaphore
Object Hierarchy:
SDL.Semaphore
SDL.Semaphore
SDL.Semaphore
Description:
[
CCode
( cname =
"SDL_sem"
, free_function =
"SDL_DestroySemaphore"
) ]
[
Compact
]
public
class
Semaphore
Namespace:
SDL
Package:
sdl2
Content:
Creation methods:
public
Semaphore
(
uint32
initial_value)
Methods:
public
uint32
get_value
()
public
int
post
()
public
int
try_wait
()
public
int
wait
()
public
int
wait_timeout
(
uint32
ms)