Implementation of reactive principle in C.