Simple queue of void function in C