Home
last modified time | relevance | path

Searched refs:JobRef (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/rayon-core/src/
Djob.rs33 pub(super) struct JobRef { struct
38 unsafe impl Send for JobRef {} argument
39 unsafe impl Sync for JobRef {} implementation
41 impl JobRef { implementation
44 pub(super) unsafe fn new<T>(data: *const T) -> JobRef in new()
51 JobRef { in new()
92 pub(super) unsafe fn as_job_ref(&self) -> JobRef { in as_job_ref() argument
93 JobRef::new(self) in as_job_ref()
154 pub(super) unsafe fn as_job_ref(self: Box<Self>) -> JobRef { in as_job_ref() argument
156 JobRef::new(this) in as_job_ref()
[all …]
Dregistry.rs1 use crate::job::{JobFifo, JobRef, StackJob};
32 worker: Worker<JobRef>,
138 injected_jobs: Injector<JobRef>,
370 pub(super) fn inject_or_push(&self, job_ref: JobRef) { in inject_or_push() argument
384 pub(super) fn inject(&self, injected_jobs: &[JobRef]) { in inject() argument
414 fn pop_injected_job(&self, worker_index: usize) -> Option<JobRef> { in pop_injected_job() argument
577 stealer: Stealer<JobRef>,
581 fn new(stealer: Stealer<JobRef>) -> ThreadInfo { in new()
596 worker: Worker<JobRef>,
664 pub(super) unsafe fn push(&self, job: JobRef) { in push() argument
[all …]
/external/rust/crates/rayon-core/src/spawn/
Dmod.rs86 unsafe fn spawn_job<F>(func: F, registry: &Arc<Registry>) -> JobRef in spawn_job()