Searched defs:atomic_set (Results 1 – 2 of 2) sorted by relevance
16 pub fn atomic_set(ato: *mut atomic_t, value: i64) { in atomic_set() function
14 #define atomic_set(atomic,val) (((atomic)->value) = (val)) // 设置原子变量的初始值 macro