Question: Can a single process be blocked for two I/O events at a time? If no, justify in once sentence. If yes, give an example.
Can a single process be blocked for two I/O events at a time? If no, justify in once sentence. If yes, give an example. Can a process cause another blocked process to move from blocked state to ready state? If no, justify in one sentence. If yes, given an example. Does a process need to make a system call each time it needs to access any hardware? If yes, stated your reasons in 1-2 sentences. If no, given an example. Suppose we use a two-state model for a process (not running, running). State a scenario that shows why this two-state model is bad. . If a process has two threads. One of the threads is blocked for I/O. The other thread is executing as usual on a CPU. What are the possible states of the whole process, assuming a five-state model like the one we saw in class? Justify your answer in 1-2 sentences.
Step by Step Solution
3.37 Rating (156 Votes )
There are 3 Steps involved in it
No a single process cannot be blocked for two IO events at a time because the process can only perfo... View full answer
Get step-by-step solutions from verified subject matter experts
