搜索资源列表
哲学家进餐问题VC版
- 本程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。期望与大家一起学习交流!-the procedure is fairly typical operating system threads synchronization algorithm of the Dining Philosophers, in order to prevent deadlock and take the two conditions (ch
dining
- 说明:本程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。-Note: This procedure is typical of the operating system thread synchronization algorithm dining philosophers problem, in order to prevent deadlock, has taken two conditions (free c