Home
last modified time | relevance | path

Searched refs:tasks (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dsemaphore_test.rs104 let mut tasks: Vec<JoinHandle<()>> = Vec::new(); in sdv_auto_release_sem_stress_test() variables
108 tasks.push(ylong_runtime::spawn(async move { in sdv_auto_release_sem_stress_test()
112 for t in tasks { in sdv_auto_release_sem_stress_test()
138 let mut tasks: Vec<JoinHandle<()>> = Vec::new(); in sdv_async_stress_test() variables
143 tasks.push(ylong_runtime::spawn(async move { in sdv_async_stress_test()
146 tasks.push(ylong_runtime::spawn(async move { in sdv_async_stress_test()
150 for t in tasks { in sdv_async_stress_test()
H A Dmpsc_test.rs277 let mut tasks: Vec<JoinHandle<()>> = Vec::new(); in sdv_multi_send_recv_test() variables
280 tasks.push(ylong_runtime::spawn(async move { in sdv_multi_send_recv_test()
291 for t in tasks { in sdv_multi_send_recv_test()
297 let mut tasks: Vec<JoinHandle<()>> = Vec::new(); in sdv_multi_send_recv_test() variables
300 tasks.push(ylong_runtime::spawn(async move { in sdv_multi_send_recv_test()
311 for t in tasks { in sdv_multi_send_recv_test()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dwheel.rs34 // Struct for timing and waking up corresponding tasks on the timing wheel.
486 let mut tasks: Vec<JoinHandle<()>> = Vec::new(); in ut_sleep_drop() variables
488 tasks.push(crate::spawn(udp_sender(rx))); in ut_sleep_drop()
489 tasks.push(crate::spawn(udp_receiver(tx))); in ut_sleep_drop()
490 for t in tasks { in ut_sleep_drop()
/commonlibrary/c_utils/base/include/
H A Dio_event_reactor.h92 void Execute(const std::vector<EventCallback>& tasks);
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dqueue.rs302 // get the number of tasks the worker has stolen
351 // get the number of tasks the worker has stolen
363 // steal half of the tasks from the queue
382 // transfer the tasks
426 /// Current number of tasks
428 /// The total number of tasks which has entered global queue.
457 pub(super) fn push_batch(&self, tasks: Vec<UnsafeCell<MaybeUninit<Task>>>, task: Task) {
459 let len = tasks.len() + 1;
460 for task_ptr in tasks {
675 /// 2. Insert tasks u
[all...]
/commonlibrary/c_utils/base/src/
H A Dio_event_reactor.cpp226 void IOEventReactor::Execute(const std::vector<EventCallback>& tasks) in Execute() argument
228 for (const EventCallback& cb : tasks) { in Execute()

Completed in 4 milliseconds