Home
last modified time | relevance | path

Searched refs:INIT (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Doneshot.rs56 const INIT: usize = 0b00; consts
170 INIT => { in send()
174 .compare_exchange(INIT, SENT, AcqRel, Acquire) in send()
217 if self.channel.state.swap(SENT, SeqCst) == INIT { in drop()
328 INIT => Err(TryRecvError::Empty), in try_recv()
379 .compare_exchange(INIT, CLOSED, AcqRel, Acquire); in close()
394 INIT => { in poll()
424 state: AtomicUsize::new(INIT), in new()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dstate.rs41 const INIT: usize = CARE_JOIN_HANDLE | SCHEDULING | (REF_ONE * 2); consts
101 TaskState(AtomicUsize::new(INIT))
320 let old = INIT;
321 let new = (INIT - REF_ONE) & !CARE_JOIN_HANDLE;
331 StateAction, TaskState, CANCELED, CARE_JOIN_HANDLE, FINISHED, INIT, JOIN_WAKER, REF_ONE,
338 /// 1. Verify that the status of the initialized completed task is INIT
342 assert_eq!(task_state.0.load(Acquire), INIT); in ut_task_state_new()
349 /// INIT.wrapping_sub(REF_ONE) value should be INIT.wrapping_sub(REF_ONE)
354 assert_eq!(task_state.0.load(Acquire), INIT in ut_task_state_dec_ref()
[all...]
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dnet.rs24 static INIT: Once = Once::new(); consts
25 INIT.call_once(|| {

Completed in 3 milliseconds