Ah okay, thanks! Surprisingly more readable as there's no loop (in this example...)
If you really want readable, search for the protothreads library
If you really want readable, search for the protothreads library