On Wed, Jan 25, 2017 at 11:18 AM, <[email protected]> wrote: > IOW, I cannot call uv_udp_send() from the threadpool, because it is not the > same thread, where loop runs, correct? >
Correct. > If yes, more questions: > > 1) is calling uv_udp_send() from on_read callback considered safe (I guess, > it should be)? It is. > 2) if i call uv_udp_send(), does it buffer/queue this request immediately, > or it waits until the data are *really* sent? > It will queue the request. The callback parameter will let you know when the request was completed. Cheers, -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
