Searched defs:JobRef (Results 1 – 2 of 2) sorted by relevance
33 pub(super) struct JobRef { struct38 unsafe impl Send for JobRef {} implementation39 unsafe impl Sync for JobRef {} implementation41 impl JobRef { impl92 pub(super) unsafe fn as_job_ref(&self) -> JobRef { in as_job_ref()154 pub(super) unsafe fn as_job_ref(self: Box<Self>) -> JobRef { in as_job_ref()197 pub(super) unsafe fn push(&self, job_ref: JobRef) -> JobRef { in push()
370 pub(super) fn inject_or_push(&self, job_ref: JobRef) { in inject_or_push()384 pub(super) fn inject(&self, injected_jobs: &[JobRef]) { in inject()414 fn pop_injected_job(&self, worker_index: usize) -> Option<JobRef> { in pop_injected_job()664 pub(super) unsafe fn push(&self, job: JobRef) { in push()674 pub(super) unsafe fn push_fifo(&self, job: JobRef) { in push_fifo()688 pub(super) unsafe fn take_local_job(&self) -> Option<JobRef> { in take_local_job()752 pub(super) unsafe fn execute(&self, job: JobRef) { in execute()760 unsafe fn steal(&self) -> Option<JobRef> { in steal()803 unsafe fn main_loop(worker: Worker<JobRef>, registry: Arc<Registry>, index: usize) { in main_loop()