Lines Matching refs:c

4 :c:type:`uv_loop_t` --- Event loop
15 .. c:type:: uv_loop_t
19 .. c:enum:: uv_loop_option
22 See :c:func:`uv_loop_configure`.
32 .. c:enum:: uv_run_mode
34 Mode used to run the loop with :c:func:`uv_run`.
44 .. c:type:: void (*uv_walk_cb)(uv_handle_t* handle, void* arg)
46 Type definition for callback passed to :c:func:`uv_walk`.
52 .. c:member:: void* uv_loop_t.data
61 .. c:function:: int uv_loop_init(uv_loop_t* loop)
65 .. c:function:: int uv_loop_configure(uv_loop_t* loop, uv_loop_option option, ...)
70 first call to :c:func:`uv_run` unless mentioned otherwise.
78 second argument to :c:func:`uv_loop_configure` is the signal number.
87 This option is necessary to use :c:func:`uv_metrics_idle_time`.
96 .. c:function:: int uv_loop_close(uv_loop_t* loop)
103 .. c:function:: uv_loop_t* uv_default_loop(void)
110 initialized with :c:func:`uv_loop_init`. As such, the default loop can (and
111 should) be closed with :c:func:`uv_loop_close` so the resources associated
117 .. c:function:: int uv_run(uv_loop_t* loop, uv_run_mode mode)
123 referenced handles or requests. Returns non-zero if :c:func:`uv_stop`
135 :c:func:`uv_run` is not reentrant. It must not be called from a callback.
137 .. c:function:: int uv_loop_alive(const uv_loop_t* loop)
142 .. c:function:: void uv_stop(uv_loop_t* loop)
144 Stop the event loop, causing :c:func:`uv_run` to end as soon as
149 .. c:function:: size_t uv_loop_size(void)
154 .. c:function:: int uv_backend_fd(const uv_loop_t* loop)
161 test/test-embed.c for an example.
167 .. c:function:: int uv_backend_timeout(const uv_loop_t* loop)
172 .. c:function:: uint64_t uv_now(const uv_loop_t* loop)
175 the start of the event loop tick, see :c:func:`uv_update_time` for details
183 Use :c:func:`uv_hrtime` if you need sub-millisecond granularity.
185 .. c:function:: void uv_update_time(uv_loop_t* loop)
195 .. c:function:: void uv_walk(uv_loop_t* loop, uv_walk_cb walk_cb, void* arg)
199 .. c:function:: int uv_loop_fork(uv_loop_t* loop)
213 before calling :c:func:`uv_run` or any other API function using
249 Any previous value returned from :c:func:`uv_backend_fd` is now
253 .. c:function:: void* uv_loop_get_data(const uv_loop_t* loop)
259 .. c:function:: void uv_loop_set_data(uv_loop_t* loop, void* data)