Search code examples
javapthreadsposixquarkusvert.x

what is the I/O Thread? is it a OS thread or User thread?


There is a moment where a server thread needs to accept a connection and read/write to it, is this thread what we call I/O Thread? Are I/O thread and EventLoop the same thing?

EDIT:
A bit more context, this is the article I was reading: article
The statement "the request is handled by the reactive engine on the IO thread" got me thinking on the question above


Solution

  • Looks like I/O thread and EventLoop thread are used interchangebly.
    Generally there is an event loop when it is using the Async/Event I/O Model once the kernel can send a message to the user process whenever I/O is ready/completed.