SDL.Semaphore – sdl2 Reference Manual
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)
2022 vala-language.org