Home
last modified time | relevance | path

Searched defs:Synced (Results 1 – 9 of 9) sorted by relevance

/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/inject/
Dsynced.rs8 pub(crate) struct Synced { struct
19 unsafe impl Send for Synced {} implementation
20 unsafe impl Sync for Synced {} implementation
22 impl Synced { impl
Drt_multi_thread.rs8 impl<'a> Lock<Synced> for &'a mut Synced { implementation
16 impl AsMut<Synced> for Synced { implementation
17 fn as_mut(&mut self) -> &mut Synced { in as_mut()
31 L: Lock<Synced>, in push_batch()
73 L: Lock<Synced>, in push_batch_inner()
Dshared.rs68 pub(crate) unsafe fn push(&self, synced: &mut Synced, task: task::Notified<T>) { in push()
106 pub(crate) unsafe fn pop_n<'a>(&'a self, synced: &'a mut Synced, n: usize) -> Pop<'a, T> { in pop_n()
/external/rust/android-crates-io/crates/tokio/src/runtime/io/
Dregistration_set.rs14 pub(super) struct Synced { struct
30 pub(super) fn new() -> (RegistrationSet, Synced) { in new() argument
71 pub(super) fn deregister(&self, synced: &mut Synced, registration: &Arc<ScheduledIo>) -> bool { in deregister()
104 pub(super) fn release(&self, synced: &mut Synced) { in release()
117 pub(super) unsafe fn remove(&self, synced: &mut Synced, io: &Arc<ScheduledIo>) { in remove()
/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/multi_thread_alt/
Didle.rs37 pub(super) struct Synced { struct
46 pub(super) fn new(cores: Vec<Box<Core>>, num_workers: usize) -> (Idle, Synced) { in new() argument
132 pub(super) fn notify_remote(&self, synced: MutexGuard<'_, worker::Synced>, shared: &Shared) { in notify_remote()
145 fn notify_synced(&self, mut synced: MutexGuard<'_, worker::Synced>, shared: &Shared) { in notify_synced()
183 synced: &mut worker::Synced, in notify_mult()
224 pub(super) fn shutdown(&self, synced: &mut worker::Synced, shared: &Shared) { in shutdown()
258 pub(super) fn release_core(&self, synced: &mut worker::Synced, core: Box<Core>) { in release_core()
280 pub(super) fn transition_worker_to_parked(&self, synced: &mut worker::Synced, index: usize) { in transition_worker_to_parked()
304 _synced: &mut Synced, in transition_worker_to_searching_if_needed()
Dworker.rs182 pub(crate) struct Synced { struct
197 pub(super) idle: idle::Synced, argument
200 pub(crate) inject: inject::Synced, argument
610 synced: &mut Synced, in try_acquire_available_core()
628 mut synced: MutexGuard<'_, Synced>, in wait_for_core() argument
673 fn reset_acquired_core(&mut self, cx: &Context, synced: &mut Synced, core: &mut Core) { in reset_acquired_core()
791 synced: &mut Synced, in next_remote_task_batch_synced()
993 synced: impl FnOnce() -> MutexGuard<'a, Synced>, in schedule_deferred_with_core() argument
1049 fn schedule_deferred_without_core<'a>(&mut self, cx: &Context, synced: &mut Synced) { in schedule_deferred_without_core()
1091 fn update_global_flags(&mut self, cx: &Context, synced: &mut Synced) { in update_global_flags()
[all …]
/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/multi_thread/
Didle.rs21 pub(super) struct Synced { struct
34 pub(super) fn new(num_workers: usize) -> (Idle, Synced) { in new() argument
Dworker.rs191 pub(crate) struct Synced { struct
193 pub(super) idle: idle::Synced, argument
196 pub(crate) inject: inject::Synced, argument
1236 fn as_mut(&mut self) -> &mut inject::Synced { in as_mut()
/external/rust/android-crates-io/crates/h2/src/proto/
Dsettings.rs27 Synced, enumerator