arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

SCHEDULING: A FAST C++ THREAD POOL IMPLEMENTATION CAPABLE OF EXECUTING TASK GRAPHS

Dmytro Puyda

· Computer Systems and Information Technologies

See on the map

Abstract

In this paper, the author presents a simple and efficient C++ thread pool implementation capable of executing task graphs. The conducted experiments demonstrate that the proposed solution achieves CPU performance comparable to Taskflow, a highly optimized library for parallel and heterogeneous programming. The implementation is small and straightforward, consisting of less than one thousand lines of C++ code at the time of writing this paper.

More like this