主页 返回 进入列表

  • 总根 >计算机与教育 >课程 >高等教育课程 >本科课程 >操作系统 >ZSTU-(2020-2021)-1 >学生作业 >2017329621131_王小滔

  • 2017329621131_王小滔_homework7

    In the philosopher meal problem, if five philosophers process concurrently, they all pick up the chopsticks on the left hand side. Later, when any of them try to pick up the chopsticks on the right hand side, they will find that the right chopsticks have been taken away and hold by other philosopher.

     

    If any philosopher does not put down the chopsticks in his hand at some time, then the phenomenon of circular waiting will occur.

     

    The pseudo code is roughly as follows:
    se


    全文(Full Article): https://yvsou.com/dc/single.php?groupid=28.218.81608.81609.81613.222.85882.83187.86070&pid=1338551&startgroup=