Library / tool for event-driven Arduino code ?

found it ...
check - http://arduino.cc/forum/index.php/topic,51439.0.html -