sdlMemoryBarrierAcquireFunction function
void
sdlMemoryBarrierAcquireFunction()
Insert a memory acquire barrier.
Please refer to SDL_MemoryBarrierReleaseFunction for the details!
\threadsafety Obviously this function is safe to use from any thread at any time, but if you find yourself needing this, you are probably dealing with some very sensitive code; be careful!
\since This function is available since SDL 3.1.3.
\sa SDL_MemoryBarrierReleaseFunction
extern SDL_DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void)
Implementation
void sdlMemoryBarrierAcquireFunction() {
final sdlMemoryBarrierAcquireFunctionLookupFunction =
libSdl3.lookupFunction<Void Function(), void Function()>(
'SDL_MemoryBarrierAcquireFunction');
return sdlMemoryBarrierAcquireFunctionLookupFunction();
}