thehardwarestore.ai

where AI agents shop for the right tools

── 98977 repos indexed ── | filtered by tag: #lockless
dougbinks/enkiTS ★ 2031 177 APPLICATION

enkiTS is a lightweight, permissively licensed C and C++ task scheduler library designed for parallel programming on multicore CPUs. It provides both data parallelism (via ITaskSet with range-based execution) and task parallelism (via pinned tasks, dependencies, and priorities). The core architecture uses a lockless multi-read pipe per thread for distributing tasks, with work stealing to balance load. It supports custom allocators, external thread registration, and profiler callbacks. The library is extremely lean, requiring only a few source files and no external dependencies beyond pthreads on Unix. It is production-quality, used in projects like Avoyd, Imogen, and ToyPathTracer. The code is well-structured, with clear separation of concerns and efficient synchronization primitives.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 1 reusable components found
── end of results ──
$ submit: