Uses of Record Class
club.doki7.sdl3.handle.SDL_Semaphore
Packages that use SDL_Semaphore
-
Uses of SDL_Semaphore in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_SemaphoreMethods in club.doki7.sdl3 with parameters of type SDL_SemaphoreModifier and TypeMethodDescriptionvoid
SDL3.destroySemaphore
(@Nullable SDL_Semaphore sem) Destroy a semaphore.int
SDL3.getSemaphoreValue
(@Nullable SDL_Semaphore sem) Get the current value of a semaphore.void
SDL3.signalSemaphore
(@Nullable SDL_Semaphore sem) Atomically increment a semaphore's value and wake waiting threads.boolean
SDL3.tryWaitSemaphore
(@Nullable SDL_Semaphore sem) See if a semaphore has a positive value and decrement it if it does.void
SDL3.waitSemaphore
(@Nullable SDL_Semaphore sem) Wait until a semaphore has a positive value and then decrements it.boolean
SDL3.waitSemaphoreTimeout
(@Nullable SDL_Semaphore sem, int timeoutMS) Wait until a semaphore has a positive value and then decrements it. -
Uses of SDL_Semaphore in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_SemaphoreModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_Semaphore
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_SemaphoreModifier and TypeMethodDescription@Nullable SDL_Semaphore
SDL_Semaphore.Ptr.read()
@Nullable SDL_Semaphore
SDL_Semaphore.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_SemaphoreMethods in club.doki7.sdl3.handle with parameters of type SDL_SemaphoreModifier and TypeMethodDescriptionstatic SDL_Semaphore.Ptr
SDL_Semaphore.Ptr.allocate
(Arena arena, @Nullable SDL_Semaphore[] values) static SDL_Semaphore.Ptr
SDL_Semaphore.Ptr.allocateV
(Arena arena, @Nullable SDL_Semaphore value0, @Nullable SDL_Semaphore... values) void
SDL_Semaphore.Ptr.write
(long index, @Nullable SDL_Semaphore value) void
SDL_Semaphore.Ptr.write
(@Nullable SDL_Semaphore value) void
SDL_Semaphore.Ptr.write
(@Nullable SDL_Semaphore[] values) void
SDL_Semaphore.Ptr.writeV
(@Nullable SDL_Semaphore value0, @Nullable SDL_Semaphore... values)