Enum forkjoin::WorkerMsg
[−]
[src]
pub enum WorkerMsg<Arg: Send, Ret: Send + Sync> { Schedule(Task<Arg, Ret>), Steal, }
Messages from the PoolSupervisor to WorkerThreads
Variants
Schedule(Task<Arg, Ret>)A new Task to be scheduled for execution by the WorkerThread
StealTell the WorkerThread to simply try to steal from the other WorkerThreads