3 votes 3 votes MSQ A ‘Running’ process is surely put into ‘Blocked/Wait’ state during while requesting for an I/O, in which of the following I/O modes? Synchronous I/O Asynchronous I/O Interrupt Driven I/O DMA CO and Architecture operating-system process-scheduling co-and-architecture dma interrupts input-output multiple-selects + – Souvik33 asked Dec 2, 2022 edited Dec 2, 2022 by Souvik33 Souvik33 733 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Pranavpurkar commented Dec 2, 2022 reply Follow Share A? 0 votes 0 votes Souvik33 commented Dec 2, 2022 reply Follow Share Most probably yes, but ¯\_(ツ)_/¯ 0 votes 0 votes Please log in or register to add a comment.
Best answer 2 votes 2 votes In synchronous file I/O, a thread starts an I/O operation and immediately enters a wait state until the I/O request has completed. A thread performing asynchronous file I/O sends an I/O request to the kernel by calling an appropriate function. If the request is accepted by the kernel, the calling thread continues processing another job until the kernel signals to the thread that the I/O operation is complete. It then interrupts its current job and processes the data from the I/O operation as necessary. https://learn.microsoft.com/en-us/windows/win32/fileio/synchronous-and-asynchronous-i-o Pranavpurkar answered Dec 2, 2022 selected Dec 3, 2022 by Souvik33 Pranavpurkar comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes A 'Running' process is put into a 'Blocked/Wait' state while requesting for an I/O in Synchronous I/O. This is because in synchronous I/O, the process will be blocked until the I/O request is processed and completed. Johnny1001 answered Jan 15, 2023 Johnny1001 comment Share Follow See all 0 reply Please log in or register to add a comment.