On Sunday, 22 May 2022 at 21:23:24 UTC, zoujiaqing wrote:
On Sunday, 22 May 2022 at 21:07:19 UTC, zoujiaqing wrote:
Does D language have task steal queue?
The requirements are high-performance, lock-free, and
thread-safe.
I think the final usage scenario is similar to this C++ project:
https://github.com/ConorWilliams/Forkpool
This project implements many of the ideas in (available in
reference/):
* F. Schmaus et al., “Nowa: A Wait-Free Continuation-Stealing
Concurrency Platform”. In: 2021 IEEE International Parallel and
Distributed Processing Symposium (IPDPS). 2021.
* C. -X. Lin, T. -W. Huang and M. D. F. Wong, "An Efficient
Work-Stealing Scheduler for Task Dependency Graph," 2020 IEEE
26th International Conference on Parallel and Distributed Systems
(ICPADS), 2020, pp. 64-71, doi: 10.1109/ICPADS51040.2020.00018.