fabriceo / SCoop

Simple Cooperative Scheduler for Arduino and Teensy ARM and AVR
126 stars 82 forks source link

Restart a task #2

Open nrother opened 10 years ago

nrother commented 10 years ago

It would be great if there were an ability to restart a task. It should be quite easy (just set the stack to the state after initial creation), but I can't get it working myself.

This would be great for "worker" tasks, which need to be reset if the work changes.