Hi everybody,
I've been working on Arduino projects for some years now.
I've developed a library that provides a simple but effective multi-threading environment.
Check this out:
https://sourceforge.net/projects/lightthreads/
Hope you find it useful.
Ciao,
Iacopo.