搜索资源列表
CCritionSection
- 线程同步是一个非常大的话题,包括方方面面的内容。从大的方面讲,线程的同步可分用户模式的线程同步和内核对象的线程同步两大类。用 户模式中线程的同步方法主要有原子访问和临界区等方法。其特点是同步速度特别快,适合于对线程运行速度有严格要求的场合。 在MFC中封装了CCritionSection等对象可以对共享资源进行锁定 -thread synchronization is a very big issues, including all aspects of the content
实验报告C
- 1.模拟并发进程共享的临界资源m1、m2,它联系着两个信号量sem1、sem2. 2.模拟并发进程的运行现场:通用寄存器i,程序计数器addr. 3.模拟三个并发进程.-1. Simulation of the process of sharing with the critical resources m1 and m2, it is tied to the volume of two signals sem1, sem2. 2. Simulation of the process of ru