Uwt_timeoutTimeouts
set the default handler for exception occurring after a timeout. The function lauched after a timeout should not raise any exception. That's why the default handler will exit the program.
val create : int -> (unit -> unit) -> tcreate n f defines a new timeout with n seconds duration. f is the function to be called after the timeout. That function must not raise any exception.
val start : t -> unitstarts a timeout.
val stop : t -> unitstops a timeout.
val change : t -> int -> unitchanges the duration of a timeout.