Add example to event wait lists module

Add \internal tag to some functions and macros which are not
supposed to be used by client code.