Description
enkiTS is a permissively licensed C and C++ task scheduler for writing parallel programs. Its goal is to help developers use both data parallelism and task parallelism to get the full performance of multicore CPUs, while staying lightweight and easy to use. It offers a C++ API in src/TaskScheduler.h and a C API in src/TaskScheduler_c.h. The README says it was developed for, and is used in, enkisoftware's Avoyd codebase. It runs on Windows, Linux, macOS and Android, with x64, x86 and ARM builds. The author develops mainly on x64 and x86 Windows, with well-tested Linux support and less frequently tested macOS and ARM Android support, and says it should work on iOS. Building is simple: add the files in the src folder to your build system and add src to the include path, with pthreads needed on Unix-like systems. CMake is supported too. The project lists its features as lightweight, fast on few threads and then scalable, braided parallelism where tasks can start other tasks, zero allocations during scheduling, and the option to pin a task to a given thread. Examples are in the example folder, with more in a separate enkiTSExamples repository.…
Highlights
- C++ and C APIs for parallel tasks
- Braided and data parallelism
- Zero allocations during scheduling
- Windows, Linux, macOS and Android
Ratings & Reviews
No ratings yet
Be the first to rate EnkiTS.
People also visit
EnkiTS FAQ
What is enkiTS?
A task scheduler library in C and C++ for building parallel programs that use multicore CPUs.
Which language standard does it need?
C++11 support is required. The C++ API is in TaskScheduler.h and the C API is in TaskScheduler_c.h.
Which platforms are supported?
Windows, Linux, macOS and Android, for x64, x86 and ARM. The README says iOS should work too.
How do I add it to a project?
Add the files in src to your build system, add src to the include path and compile TaskScheduler.cpp, plus TaskScheduler_c.cpp for the C API. Unix builds need pthreads. CMake is supported.
Can tasks start other tasks?
Yes. Braided parallelism lets tasks issue more tasks, not only the thread that created the task system.
Is it free to use?
The description calls it permissively licensed. The license text is not included in the page content shown.
Where are the examples?
In the example folder of the repository, and in the enkiTSExamples repository.
What are the best EnkiTS alternatives?
Popular alternatives to EnkiTS include Schedulis, Taskiq and ProjectX. See all EnkiTS alternatives




