timer_start/2

Starts a timer

timer_start(+Timer, +MilliSeconds)

timer_start/2 starts a timer and sets the elapse time to MilliSeconds milliseconds. If it has already been started, then it will be stopped and restarted with the new elapse time. When the timer elapses, the callback predicate, that has been defined, when creating the timer (see timer_create/2), will be called (if it is not 'null').

Arguments

Timer               timer
MilliSeconds        integer

This predicate is not part of the ISO-Prolog Standard.

See also

timer_close/1, timer_create/2, timer_is_active/1, timer_start/2, timer_stop/1.


Darueber read on...