Protothreads are extremely lightweight stackless threads designed for severely memory constrained systems.

Marek Küthe 4be1b4e31f use modern cpp vor 1 Jahr
src 4be1b4e31f use modern cpp vor 1 Jahr
LICENSE 5f3dd538c8 Update metadata vor 1 Jahr
README.md 4a90349fed fix typo vor 1 Jahr
library.properties 979701c389 Switch to own implementation vor 1 Jahr

README.md

Protothreads are extremely lightweight stackless threads designed for severely memory constrained systems.

Protothreads provides a blocking context on top of an event-driven system, without the overhead of per-thread stacks. The purpose of protothreads is to implement sequential flow of control without complex state machines or full multi-threading.

Main features:

  • No machine specific code - the protothreads library is pure C/C++
  • Does not use error-prone functions such as longjmp()
  • Very small RAM overhead
  • Provides blocking wait without full multi-threading or stack-switching

Based on: