Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers. A lightweight implementation of cooperative multitasking (task scheduling). An easier alternative to preemptive programming and frameworks like FreeRTOS. You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.

Features

  • Periodic task execution, with dynamic execution period in milliseconds (default) or microseconds (if explicitly enabled) – frequency of execution
  • Number of iterations (limited or infinite number of iterations)
  • Execution of tasks in predefined sequence
  • Dynamic change of task execution parameters (frequency, number of iterations, callback methods)
  • Power saving via entering IDLE sleep mode when tasks are not scheduled to run
  • Support for event-driven task invocation via Status Request object
  • Support for task IDs and Control Points for error handling and watchdog timer
  • Support for Local Task Storage pointer (allowing use of same callback code for multiple tasks)

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow Task Scheduler

Task Scheduler Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Task Scheduler!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2024-05-24