###### (This is the documentation for SDL3, which is under heavy development and the API is changing! [SDL2](https://wiki.libsdl.org/SDL2/) is the current stable version!) # SDL_MemoryBarrierAcquireFunction Insert a memory acquire barrier. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_atomic.h) ## Syntax ```c void SDL_MemoryBarrierAcquireFunction(void); ``` ## Remarks Please refer to [SDL_MemoryBarrierReleaseFunction](SDL_MemoryBarrierReleaseFunction) for the details! ## Thread Safety 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! ## Version This function is available since SDL 3.0.0. ## See Also - [SDL_MemoryBarrierReleaseFunction](SDL_MemoryBarrierReleaseFunction) ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryAtomic](CategoryAtomic)