函数 | |
STATIC INLINE INT32 | LOS_AtomicRead (const Atomic *v) |
Atomic read. | 读取32bit原子数据 更多... | |
STATIC INLINE VOID | LOS_AtomicSet (Atomic *v, INT32 setVal) |
Atomic setting. 更多... | |
STATIC INLINE INT32 | LOS_AtomicAdd (Atomic *v, INT32 addVal) |
Atomic addition. 更多... | |
STATIC INLINE INT32 | LOS_AtomicSub (Atomic *v, INT32 subVal) |
Atomic subtraction. 更多... | |
STATIC INLINE VOID | LOS_AtomicInc (Atomic *v) |
Atomic addSelf. 更多... | |
STATIC INLINE INT32 | LOS_AtomicIncRet (Atomic *v) |
Atomic addSelf. | 对内存数据加1并返回运算结果 更多... | |
STATIC INLINE VOID | LOS_AtomicDec (Atomic *v) |
Atomic auto-decrement. | 对32bit原子数据做减1 更多... | |
STATIC INLINE INT32 | LOS_AtomicDecRet (Atomic *v) |
Atomic auto-decrement. | 对内存数据减1并返回运算结果 更多... | |
STATIC INLINE INT64 | LOS_Atomic64Read (const Atomic64 *v) |
Atomic64 read. | 读取64bit原子数据 更多... | |
STATIC INLINE VOID | LOS_Atomic64Set (Atomic64 *v, INT64 setVal) |
Atomic64 setting. | 写入64位内存数据 更多... | |
STATIC INLINE INT64 | LOS_Atomic64Add (Atomic64 *v, INT64 addVal) |
Atomic64 addition. | 对64位内存数据做加法 更多... | |
STATIC INLINE INT64 | LOS_Atomic64Sub (Atomic64 *v, INT64 subVal) |
Atomic64 subtraction. | 对64位原子数据做减法 更多... | |
STATIC INLINE VOID | LOS_Atomic64Inc (Atomic64 *v) |
Atomic64 addSelf. | 对64位原子数据加1 更多... | |
STATIC INLINE INT64 | LOS_Atomic64IncRet (Atomic64 *v) |
Atomic64 addSelf. | 对64位原子数据加1并返回运算结果 更多... | |
STATIC INLINE VOID | LOS_Atomic64Dec (Atomic64 *v) |
Atomic64 auto-decrement. | 对64位原子数据减1 更多... | |
STATIC INLINE INT64 | LOS_Atomic64DecRet (Atomic64 *v) |
Atomic64 auto-decrement. | 对64位原子数据减1并返回运算结果 更多... | |
STATIC INLINE INT32 | LOS_AtomicXchgByte (volatile INT8 *v, INT32 val) |
Atomic exchange for 8-bit variable. | 交换8位原子数据,原内存中的值以返回值的方式返回 更多... | |
STATIC INLINE INT32 | LOS_AtomicXchg16bits (volatile INT16 *v, INT32 val) |
Atomic exchange for 16-bit variable. | 交换16位原子数据,原内存中的值以返回值的方式返回 更多... | |
STATIC INLINE INT32 | LOS_AtomicXchg32bits (Atomic *v, INT32 val) |
Atomic exchange for 32-bit variable. | 交换32位原子数据,原内存中的值以返回值的方式返回 更多... | |
STATIC INLINE INT64 | LOS_AtomicXchg64bits (Atomic64 *v, INT64 val) |
Atomic exchange for 64-bit variable. | 交换64位原子数据,原内存中的值以返回值的方式返回 更多... | |
STATIC INLINE BOOL | LOS_AtomicCmpXchgByte (volatile INT8 *v, INT32 val, INT32 oldVal) |
Atomic exchange for 8-bit variable with compare. | 比较并交换8位原子数据,返回比较结果 更多... | |
STATIC INLINE BOOL | LOS_AtomicCmpXchg16bits (volatile INT16 *v, INT32 val, INT32 oldVal) |
Atomic exchange for 16-bit variable with compare. | 比较并交换16位原子数据,返回比较结果 更多... | |
STATIC INLINE BOOL | LOS_AtomicCmpXchg32bits (Atomic *v, INT32 val, INT32 oldVal) |
Atomic exchange for 32-bit variable with compare. | 比较并交换32位原子数据,返回比较结果 更多... | |
STATIC INLINE BOOL | LOS_AtomicCmpXchg64bits (Atomic64 *v, INT64 val, INT64 oldVal) |
Atomic exchange for 64-bit variable with compare. | 比较并交换64位原子数据,返回比较结果 更多... | |
Atomic64 addition. | 对64位内存数据做加法
v | [IN] The augend pointer. |
addVal | [IN] The addend. |
INT64 | The result value of the augend. |
在文件 los_atomic.h 第 460 行定义.
STATIC INLINE VOID LOS_Atomic64Dec | ( | Atomic64 * | v | ) |
Atomic64 auto-decrement. | 对64位原子数据减1
v | [IN] The auto-decrement variable pointer. |
none. |
在文件 los_atomic.h 第 608 行定义.
Atomic64 auto-decrement. | 对64位原子数据减1并返回运算结果
v | [IN] The auto-decrement variable pointer. |
INT64 | The return value of variable auto-decrement. |
在文件 los_atomic.h 第 643 行定义.
STATIC INLINE VOID LOS_Atomic64Inc | ( | Atomic64 * | v | ) |
Atomic64 addSelf. | 对64位原子数据加1
v | [IN] The addSelf variable pointer. |
none. |
在文件 los_atomic.h 第 536 行定义.
Atomic64 addSelf. | 对64位原子数据加1并返回运算结果
v | [IN] The addSelf variable pointer. |
INT64 | The return value of variable addSelf. |
在文件 los_atomic.h 第 571 行定义.
Atomic64 read. | 读取64bit原子数据
v | [IN] The reading pointer. |
INT64 | The result value of the read. |
在文件 los_atomic.h 第 392 行定义.
Atomic64 setting. | 写入64位内存数据
v | [IN] The variable pointer to be setting. |
setVal | [IN] The value to be setting. |
none. |
在文件 los_atomic.h 第 425 行定义.
Atomic64 subtraction. | 对64位原子数据做减法
v | [IN] The minuend pointer. |
subVal | [IN] The subtrahend. |
INT64 | The result value of the minuend. |
在文件 los_atomic.h 第 499 行定义.
Atomic addition.
v | [IN] The augend pointer. |
addVal | [IN] The addend. |
INT32 | The result value of the augend. |
在文件 los_atomic.h 第 173 行定义.
Atomic exchange for 16-bit variable with compare. | 比较并交换16位原子数据,返回比较结果
v | [IN] The variable pointer. |
val | [IN] The new value. |
oldVal | [IN] The old value. |
TRUE | The previous value of the atomic variable is not equal to oldVal. |
FALSE | The previous value of the atomic variable is equal to oldVal. |
在文件 los_atomic.h 第 853 行定义.
Atomic exchange for 32-bit variable with compare. | 比较并交换32位原子数据,返回比较结果
v | [IN] The variable pointer. |
val | [IN] The new value. |
oldVal | [IN] The old value. |
TRUE | The previous value of the atomic variable is not equal to oldVal. |
FALSE | The previous value of the atomic variable is equal to oldVal. |
在文件 los_atomic.h 第 890 行定义.
Atomic exchange for 64-bit variable with compare. | 比较并交换64位原子数据,返回比较结果
v | [IN] The variable pointer. |
val | [IN] The new value. |
oldVal | [IN] The old value. |
TRUE | The previous value of the atomic variable is not equal to oldVal. |
FALSE | The previous value of the atomic variable is equal to oldVal. |
在文件 los_atomic.h 第 927 行定义.
Atomic exchange for 8-bit variable with compare. | 比较并交换8位原子数据,返回比较结果
v | [IN] The variable pointer. |
val | [IN] The new value. |
oldVal | [IN] The old value. |
TRUE | The previous value of the atomic variable is not equal to oldVal. |
FALSE | The previous value of the atomic variable is equal to oldVal. |
在文件 los_atomic.h 第 816 行定义.
STATIC INLINE VOID LOS_AtomicDec | ( | Atomic * | v | ) |
Atomic auto-decrement. | 对32bit原子数据做减1
v | [IN] The auto-decrement variable pointer. |
none. |
在文件 los_atomic.h 第 323 行定义.
Atomic auto-decrement. | 对内存数据减1并返回运算结果
v | [IN] The auto-decrement variable pointer. |
INT32 | The return value of variable auto-decrement. |
在文件 los_atomic.h 第 357 行定义.
STATIC INLINE VOID LOS_AtomicInc | ( | Atomic * | v | ) |
Atomic addSelf.
v | [IN] The addSelf variable pointer. |
none. |
在文件 los_atomic.h 第 253 行定义.
Atomic addSelf. | 对内存数据加1并返回运算结果
v | [IN] The addSelf variable pointer. |
INT32 | The return value of variable addSelf. |
在文件 los_atomic.h 第 287 行定义.
Atomic read. | 读取32bit原子数据
v | [IN] The reading pointer. |
INT32 | The result value of the read. |
在文件 los_atomic.h 第 123 行定义.
Atomic setting.
v | [IN] The variable pointer to be setting. |
setVal | [IN] The value to be setting. |
none. |
在文件 los_atomic.h 第 147 行定义.
Atomic subtraction.
v | [IN] The minuend pointer. |
subVal | [IN] The subtrahend. |
INT32 | The result value of the minuend. |
在文件 los_atomic.h 第 217 行定义.
Atomic exchange for 16-bit variable. | 交换16位原子数据,原内存中的值以返回值的方式返回
v | [IN] The variable pointer. |
val | [IN] The exchange value. |
INT32 | The previous value of the atomic variable |
在文件 los_atomic.h 第 713 行定义.
Atomic exchange for 32-bit variable. | 交换32位原子数据,原内存中的值以返回值的方式返回
v | [IN] The variable pointer. |
val | [IN] The exchange value. |
INT32 | The previous value of the atomic variable |
在文件 los_atomic.h 第 747 行定义.
Atomic exchange for 64-bit variable. | 交换64位原子数据,原内存中的值以返回值的方式返回
v | [IN] The variable pointer. |
val | [IN] The exchange value. |
INT64 | The previous value of the atomic variable |
在文件 los_atomic.h 第 781 行定义.
Atomic exchange for 8-bit variable. | 交换8位原子数据,原内存中的值以返回值的方式返回
v | [IN] The variable pointer. |
val | [IN] The exchange value. |
INT32 | The previous value of the atomic variable |
在文件 los_atomic.h 第 679 行定义.