On 07/11/16 07:02, [email protected] wrote:
my program use multi-thread, each thread have a uv_loop, I know
uv_write2 can be used to transfer a uv_tcp_t(i think this is mostly use
in multi-process mode), and I want to know is there a easy way to detach
a uv_tcp_t from a uv_loop and attach to another ? thanks


Alas, no. Currently there is no way to do that. uv_write2 is the only way, without resorting to platform specific tricks.

--
Saúl Ibarra Corretgé
http://bettercallsaghul.com

--
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.

Reply via email to