搜索资源列表
xianchengtongbu
- 在访问临界区的问题当中,因为临界区在一个时间只允许一个进程访问,因此为了解决同步问题,我们要用到线程同步机制。首先创建两个共享数据资源的并发线程。在没有同步控制机制的情况下,观察某些异常现象。针对这样的问题,采用两个解决方案:①利用Windows和mutex机制,②采用软件方案,并比较这两种方案的性能优劣。-During his visit to these critical areas, as critical a time in a process only allows access to
Hanoi
- C#写的动态显示汉诺塔移动过程的小程序。使用了线程技术,同步技术。-write in C#, display the moving procedure of the Tower of Hanoi. The use of threading, synchronization.
PetersonAlgorithm
- 线程同步问题的的Peterson算法的经典解决办法-Thread synchronization problem of the classical solution Peterson algorithm