当前位置: 动力学知识库 > 问答 > 编程问答 >

operating system - Will program maintain its resource requirement

问题描述:

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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: