SDL_AtomicGet

Use this function to get the value of an atomic variable. 使用这个函数可以获取原子变量的值。

Syntax 语法

  1. int SDL_AtomicGet(SDL_atomic_t* a)

Function Parameters 函数参数

参数 解释(EN) 解释(ZH)
a a pointer to an SDL_atomic_t variable 指针指向SDL_atomic_t的变量。

Return Value 返回值

Returns the current value of an atomic variable. 返回当前的原子变量值。

Code Examples 示例代码

  1. 暂无

Remarks 备注

暂无

Related Functions 相关函数

SDL_AtomicSet


@SixerMe Translated