logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_MemoryBarrierReleaseFunction - Insert a memory release barrier (function version).

Availability

       This function is available since SDL 3.2.0.

Description

       Please refer to SDL_MemoryBarrierRelease
        for  details.  This  is  a function version, which might be useful if you need to use this functionality
       from a scripting language, etc. Also, some of the macro versions call this function  behind  the  scenes,
       where  more heavy lifting can happen inside of SDL. Generally, though, an app written in C/C++/etc should
       use the macro version, as it will be more efficient.

Header File

       Defined in SDL3/SDL_atomic.h

Name

       SDL_MemoryBarrierReleaseFunction - Insert a memory release barrier (function version).

See Also

(3), SDL_MemoryBarrierRelease(3)

Simple Directmedia Layer                           SDL 3.2.10                SDL_MemoryBarrierReleaseFunction(3)

Synopsis

#include"SDL3/SDL.h"voidSDL_MemoryBarrierReleaseFunction(void);

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!

See Also