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 TypeMethodDescriptionvoidSDL3.destroySemaphore(@Nullable SDL_Semaphore sem) Destroy a semaphore.intSDL3.getSemaphoreValue(@Nullable SDL_Semaphore sem) Get the current value of a semaphore.voidSDL3.signalSemaphore(@Nullable SDL_Semaphore sem) Atomically increment a semaphore's value and wake waiting threads.booleanSDL3.tryWaitSemaphore(@Nullable SDL_Semaphore sem) See if a semaphore has a positive value and decrement it if it does.voidSDL3.waitSemaphore(@Nullable SDL_Semaphore sem) Wait until a semaphore has a positive value and then decrements it.booleanSDL3.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 recordRepresents a pointer toSDL_Semaphorehandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_SemaphoreModifier and TypeMethodDescription@Nullable SDL_SemaphoreSDL_Semaphore.Ptr.read()@Nullable SDL_SemaphoreSDL_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.PtrSDL_Semaphore.Ptr.allocate(Arena arena, @Nullable SDL_Semaphore[] values) static SDL_Semaphore.PtrSDL_Semaphore.Ptr.allocateV(Arena arena, @Nullable SDL_Semaphore value0, @Nullable SDL_Semaphore... values) voidSDL_Semaphore.Ptr.write(long index, @Nullable SDL_Semaphore value) voidSDL_Semaphore.Ptr.write(@Nullable SDL_Semaphore value) voidSDL_Semaphore.Ptr.write(@Nullable SDL_Semaphore[] values) voidSDL_Semaphore.Ptr.writeV(@Nullable SDL_Semaphore value0, @Nullable SDL_Semaphore... values)