Q:

C++ Scheduler for Arduino Uno

I would like to create/use a light homemade scheduler (in C++) for my program based on Arduino Uno (ATMega328P) : I want to manage my different "tasks" based on a priority task (according the execution time); have you got some examples about that ?  
Thank you so much
Anthony

A:

Seems like one of the following should fit your need.  Or be a basis for expanding upon.