ParentFull threadpnathan·I wrote an cooperative multitasking RTOS for an ATMega processor in 1200 or so lines.View on HN