Hi again,

I see you're handling reads in a different thread. Afaik, that's not
supported. From the documentation here:
http://docs.libuv.org/en/v1.x/design.html#the-i-o-loop

"The I/O (or event) loop is the central part of libuv. It establishes the
content for all I/O operations, and it’s meant to be tied to a single
thread. One can run multiple event loops as long as each runs in a
different thread. The libuv event loop (or any other API involving the loop
or handles, for that matter) *is not thread-safe* except where stated
otherwise."

br

El mié., 12 feb. 2020 a las 17:19, nilsocket (<nilsoc...@gmail.com>)
escribió:

> Thanks a lot for responding, I have moved `uv_write_req` to heap, but
> still it is crashing most of the time. when concurrent no.of connections is
> 100.
>
> Sometimes, it is working, but it is not working most of the time.
>
> On Wed, Feb 12, 2020 at 7:16 PM Santiago Gimeno <santiago.gim...@gmail.com>
> wrote:
>
> Thank you
>
> --
> 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 libuv+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/libuv/CAGkTAxtJDJN9i%3DY%3D4awHreg9U4xRH3aQ0Y7kk09K2OCiojcq7w%40mail.gmail.com
> <https://groups.google.com/d/msgid/libuv/CAGkTAxtJDJN9i%3DY%3D4awHreg9U4xRH3aQ0Y7kk09K2OCiojcq7w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 libuv+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/libuv/CAAJY-XP%2Byhm16borH_kh-WXkq42ybuZZ_DtVanxEZKwLSnPohg%40mail.gmail.com.

Reply via email to