
Timers: module {
	PATH: con "timers.dis";

	Sec: con 1000;

	Timer: adt {
		dt:	int;
		timeout:	chan of int;

		new:	fn(): ref Timer;
		start:	fn(nil: self ref Timer, nil: int);
		stop:	fn(nil: self ref Timer);
	};

	init:	fn();
	shutdown:	fn();
};
