Trait rayon_core::job::Job
source · pub(crate) trait Job {
// Required method
unsafe fn execute(this: *const ());
}
Expand description
A Job
is used to advertise work for other threads that they may
want to steal. In accordance with time honored tradition, jobs are
arranged in a deque, so that thieves can take from the top of the
deque while the main worker manages the bottom of the deque. This
deque is managed by the thread_pool
module.
Required Methods§
Object Safety§
This trait is not object safe.