Insert a memory acquire barrier.
Defined in <SDL3/SDL_atomic.h>
void SDL_MemoryBarrierAcquireFunction(void);
Please refer to SDL_MemoryBarrierReleaseFunction for the details!
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!
This function is available since SDL 3.1.3.