Module AltErgoLib.MyUnix

val cur_time : unit -> float

Returns the current time. *

val set_timeout : is_gui:bool -> float -> unit

Set a timeout, using Unix timers. If is_gui then the timer raises Unix.interval_timer.ITIMER_REAL, else raises Unix.interval_timer.ITIMER_VIRTUAL. No-op on javascript.

val unset_timeout : is_gui:bool -> unit

Unset the previously set timer.