Taskparts
Task-parallel runtime system: A C++ library to support task parallelism on multicore platforms
Install / Use
/learn @mikerainey/TaskpartsREADME
taskparts
Task-parallel runtime system: A C++ library to support task parallelism on multicore platforms
We need the compiler flag -fno-stack-protector for correct compilation of native fork join.
Configuration
Compiler flags
TASKPARTS_OVERRIDE_PAUSE_INSTR
By default, all spin-wait loops issue the PAUSE instruction every
trip around the loop in order to let the processor know the caller is
spinning.
This instruction can affect performance in some cases. This complier
flag replaces all uses of PAUSE with NOPs.
TODOs
- To fix: reset fiber is broken by any program that performs some parallel work inside its reset function; our current temporary fix is to force sequential in
benchmark.hpp. - Enable separate compilation
- Make deque data structure a template parameter of the work-stealing scheduler.
- Document all environment-variable arguments
- Set up continuous integration of unit tests
Related Skills
openhue
343.1kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
343.1kElevenLabs text-to-speech with mac-style say UX.
weather
343.1kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
