Releases: arkhipenko/TaskScheduler
Version 3.7.0
- bug fix: Internal Status Request object completes with TASK_SR_CANCEL status if the task was canceled.
- bug fix: Internal Status Request object completes with TASK_SR_ABORT status if the task was aborted.
- feature: Status Requests with TASK_SR_ABORT status also abort dependent tasks
- feature: added TScheduler.hpp and TSchedulerDeclarations.hpp - a workaround for conflicting declarations (e.g., nRF52840 using Adafruit Core) using namespace TS (credit: https://github.com/vortigont)
- feature: added ability for Task to "self-destruct" on disable. Useful for dynamic task management.
- Added updated example 19 for this functionality. Updated the Sketch Template. (Thanks, https://github.com/vortigont for the idea).
Version 3.6.0
-
feature: added adjust method to Task object. adjust(int32_t delta) moves the entire schedule forward (positive delta) or backward (negative delta) by that many milliseconds (microseconds). This is helpful if for some reason you need to adjust the "start" time of scheduling to align with RTC "zero" seconds (for instance) or postpone one task while the other task is running.
-
feature: added example 27 demonstrating how to use TaskScheduler in PlatformIO projects.
-
feature: added _TASK_THREAD_SAFE compile option for instances of TaskScheduler running under preemptive schedulers like FreeRTOS. Under certain conditions, task scheduling was adversely affected and led to unexpected results. Enabling _TASK_THREAD_SAFE compile option eliminates such occurrences.
Version 3.4.0
- feature: ability to Enable/Disable and Pause/Resume scheduling
- feature: optional use of external millis/micros methods
Version 3.3.0
Timeout functionality for StatusRequest objects
Version 3.2.2
features:
cancel()
- disable Task with a "canceled" flag - indicating premature task completioncanceled()
- query if Task was canceled or disabled normallyabort()
- disable Task without callingonDisable()
methodenable()
andsetWaiting()
method varieties return boolean status indicating if task was indeed enabled (true) or remained disabled (false)
bug fixes:
restart()
methods should set the number of iterations beforeonEnable
is called, soonEnable
could change it if necessary
Version 3.2.0
v3.2.0 v3.2.0