CS FundamentalsHardGATE CS

Which kind of I/O call returns immediately and later notifies the process (e.g. via a signal, callback or completion queue) when the data has been transferred?

  1. A. Blocking I/O
  2. B. Non-blocking I/O that returns EAGAIN
  3. C. Asynchronous I/O
  4. D. Programmed I/O

Correct answer: C. Asynchronous I/O

Non-blocking I/O returns at once with whatever is available (or EAGAIN), and the caller must retry or poll; asynchronous I/O starts the whole transfer and signals completion later (e.g. io_uring, POSIX AIO).

More Operating Systems questions

Exams that ask this topic