Submitting IO on different threads

23 views
Skip to first unread message

Reza Mahdi

unread,
Apr 9, 2020, 4:38:17 AM4/9/20
to libuv
Hi.
I want to know that is it possible to call uv_read_start or something like that in a thread other that one with runs uv_run?

Ben Noordhuis

unread,
Apr 9, 2020, 4:39:50 AM4/9/20
to li...@googlegroups.com
On Thu, Apr 9, 2020 at 10:38 AM Reza Mahdi <rezam...@gmail.com> wrote:
>
> Hi.
> I want to know that is it possible to call uv_read_start or something like that in a thread other that one with runs uv_run?

No, it's not possible. Libuv functions aren't thread-safe unless the
documentation explicitly mentions otherwise.
Reply all
Reply to author
Forward
0 new messages