Add support for event timers whose clock frequency can change while running.
Add support for some block functions that come from OS X.  These are
intended to build with any C compiler.

Reviewed by:	pfg
MFC after:	3 weeks