问题描述:

I have went thorugh the Deadlock Avoidance algorithm recently.

I have a question towards it.

Now consider a program is going to run, and it will require, user interaction/input after some steps.

  1. Whether, while starting the execution of the program itself,

    the OS will come to know the requirement of the program.

  2. Or, only after the execution of set of steps, it will come to know the requirement?

  3. Whether the program will have its behavior states with itself?

    [I mean, whether it will have some kind of the index page, where,

    it will have the set of the requirement, like input from user, so the OS can read this index to understand the program more]

Thanks.

相关阅读:
Top