Addition of a generic timer that uses channels to operate.

A generic timer, taken from Plan 9's acme text editor.