一个叫做 atomic_add_negative 的特殊函数被添加到原子变量中,然后当结果值为负数时返回真(true)。
One special function called atomic_add_negative is used to add to the atomic variable and then return true if the resulting value is negative.
一个叫做 atomic_add_negative 的特殊函数被添加到原子变量中,然后当结果值为负数时返回真(true)。
One special function called atomic_add_negative is used to add to the atomic variable and then return true if the resulting value is negative.
应用推荐