Searched refs:atomic_set (Results 1 – 5 of 5) sorted by relevance
36 atomic_set(&sema->counter, count); in semaphore_init()
14 #define atomic_set(atomic,val) (((atomic)->value) = (val)) // 设置原子变量的初始值 macro
16 pub fn atomic_set(ato: *mut atomic_t, value:i64) { in atomic_set() function
12 atomic_set(&lock->count, 1); in mutex_init()
15 atomic::atomic_set,92 atomic_set(&mut sig.sig_cnt, 1); in process_copy_signal()