Libuv mechanism?

all passing bosses, ask for the detailed mechanism of libuv?

libuv sets up a thread for each task to execute, so how is the queue implemented?
and if there are a lot of internal events, how is execution dispatched, is it executed one by one, or what?
do you have a more detailed explanation? thank you!

is it possible for this queue to execute events without opening new threads? Or register existing threads?

in addition, after each child thread ends, it returns to the main thread, which performs a callback. This process should require the
child thread to send a message notification to the main thread, and how is it implemented?

CPP
Apr.11,2021
Menu