|
|
|
@ -2116,11 +2116,11 @@ C<SIGSTOP>).
|
|
|
|
|
|
|
|
|
|
=item ev_timer_set (ev_timer *, ev_tstamp after, ev_tstamp repeat)
|
|
|
|
|
|
|
|
|
|
Configure the timer to trigger after C<after> seconds. If C<repeat>
|
|
|
|
|
is C<0.>, then it will automatically be stopped once the timeout is
|
|
|
|
|
reached. If it is positive, then the timer will automatically be
|
|
|
|
|
configured to trigger again C<repeat> seconds later, again, and again,
|
|
|
|
|
until stopped manually.
|
|
|
|
|
Configure the timer to trigger after C<after> seconds (fractional and
|
|
|
|
|
negative values are supported). If C<repeat> is C<0.>, then it will
|
|
|
|
|
automatically be stopped once the timeout is reached. If it is positive,
|
|
|
|
|
then the timer will automatically be configured to trigger again C<repeat>
|
|
|
|
|
seconds later, again, and again, until stopped manually.
|
|
|
|
|
|
|
|
|
|
The timer itself will do a best-effort at avoiding drift, that is, if
|
|
|
|
|
you configure a timer to trigger every 10 seconds, then it will normally
|
|
|
|
|