-
-
Notifications
You must be signed in to change notification settings - Fork 284
Full Document
Anatoli Arkhipenko edited this page Apr 19, 2026
·
9 revisions
This page previously held a single monolithic copy of every other wiki page. With the v4.0.7 refresh, the wiki is now maintained exclusively on the individual topic pages below. Keeping a duplicate long-form version in sync was producing drift: the same fact was stated in two places with different wording, and updates landed on one page but not the other.
If you want a single printable / searchable document, grab code/extras/wiki.pdf from the repository - that file is regenerated periodically from the topic pages.
- Home - feature list, supported platforms, top-level table of contents.
- Changelog - release notes from v1.0.0 through the current release.
-
Concept of Task and Cooperative Task Scheduling - what a Task is, what a Scheduler is, the full list of
_TASK_*compile-time options, and task priority / cooperative multitasking guidance. - Implementation scenarios and ideas - eight worked scenarios (event-driven, FSM, multi-callback, ISR-driven, onEnable/onDisable, StatusRequest, LTS pointer, prioritization).
- Creating TaskScheduler-friendly libraries - how to design non-blocking library APIs that compose cleanly with cooperative scheduling.
-
Using
_TASK_THREAD_SAFECompile Option - the request-queue model for FreeRTOS / Zephyr / multi-core use, with a worked FreeRTOS queue example.
- API Documentation (index) - one-page map of every public method.
- Task API - construction, enable/disable, intervals, iterations, timeouts, StatusRequest hooks, IDs/control points, local task storage, scheduling options, self-destruct.
-
Scheduler API - chain management, execute loop, enable/pause, priority, CPU-load monitoring, scheduler statistics, tickless (
getNextRun), thread-safe (requestAction). -
StatusRequest API - signaling, waiting, timeouts, the reserved
TASK_SR_*status codes.
- Doxygen-generated reference: https://arkhipenko.github.io/ts - auto-generated from source comments; useful for a flat searchable view of every method with its full signature.
- Source of truth for compile-time constants and method signatures:
code/src/TaskSchedulerDeclarations.hin the repository.
If you arrived here from an older link, the content you want is on one of the topic pages above; every section that used to live in this file now has a dedicated home.