Intel Cilk Plus employs work stealing, where workers (cores) stealwork from other workers (cores). When a worker runs out of work, it steals from the top of a random victims deque.
I have some questions about this strategy :
1- can we force a worker to choice its victim (not randomly) with parameters?
2- when a worker X need the result of a strand Z executing into another worker Y or the strand Z is still on the work deque of the worker Y, the worker X can it help the worker Y to terminate the execution of the strand Z or steal the strand Z to have quickly the result so that the worker X will continue its execution of strands ?
is it possible with the scheduler of intel cilk plus ? if yes, how can we implement it ?
If no, is there another langage such as TBB to implement it ?
Thank you in advance,