Submitting IO on different threads

32 weergaven
Naar het eerste ongelezen bericht

Reza Mahdi

ongelezen,
9 apr 2020, 04:38:1709-04-2020
aan 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

ongelezen,
9 apr 2020, 04:39:5009-04-2020
aan 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.
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten