Lines Matching refs:function
52 The second parameter is the function which will serve as the entry point for
54 custom parameters to the thread. The function ``hare`` will now run in a separate
151 In addition, libuv provides a convenience function ``uv_once()``. Multiple
152 threads can attempt to call ``uv_once()`` with a given guard and a function
153 pointer, **only the first one will win, the function will be called once and
191 ``uv_queue_work()`` is a convenience function that allows an application to run
193 task is done. A seemingly simple function, what makes ``uv_queue_work()``
196 make sure that no function which runs periodically in the loop thread blocks
218 The actual task function is simple, nothing to show that it is going to be
233 The thread function will be launched in a separate thread, passed the
234 ``uv_work_t`` structure and once the function returns, the *after* function
241 Since libuv version `0.9.4` an additional function, ``uv_cancel()``, is
270 For tasks that do get cancelled successfully, the *after* function is called
319 only guarantee that libuv makes is -- The callback function is called *at
334 In the download function, we modify the progress indicator and queue the message
376 lib.on_progress(function() {