aboutsummaryrefslogtreecommitdiff
path: root/docs/src/timer.rst
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2017-09-11 15:36:19 +0200
committercjihrig <cjihrig@gmail.com>2018-02-21 09:07:05 -0500
commit9d74b27ad45a259e977cc2a842b51ab53f9d4991 (patch)
tree924a2c1165b6f29b81004f3774a29af576a7b56a /docs/src/timer.rst
parent3f8f6dc4c74bab65fa75d226eda8dae2f2029ad1 (diff)
downloadlibuv-9d74b27ad45a259e977cc2a842b51ab53f9d4991.tar.gz
libuv-9d74b27ad45a259e977cc2a842b51ab53f9d4991.zip
doc: document uv_timer_start() on an active timer
Fixes: https://github.com/libuv/libuv/issues/1401 PR-URL: https://github.com/libuv/libuv/pull/1538 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src/timer.rst')
-rw-r--r--docs/src/timer.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/timer.rst b/docs/src/timer.rst
index 8e11f257..e163e288 100644
--- a/docs/src/timer.rst
+++ b/docs/src/timer.rst
@@ -45,6 +45,8 @@ API
.. note::
Does not update the event loop's concept of "now". See :c:func:`uv_update_time` for more information.
+ If the timer is already active, it is simply updated.
+
.. c:function:: int uv_timer_stop(uv_timer_t* handle)
Stop the timer, the callback will not be called anymore.