搜索资源列表
ThreadTest
- 模拟多进程共享临界资源 1、实现两个进程模拟进入临界区的用户进程,当需要进入临界区时,显示:“进程x请求进入临界区…”,同时向管理进程提出申请;申请返回,表示进入了临界区。在临界区中等待一段随机时间,并显示:“进程x正在临界区…”;当时间结束,显示:“进程x退出临界区…”,同时向管理进程提出退出申请;当申请返回,显示:“进程x已退出临界区。” 2、一个进程作为原语的管理进程,接受其他进程的临界区进入请求:如果允许进入,则设置相应变量,然后返回;如果不允许进入,则进入循环等待,直到允许为止
09-Queue
- windows核心编程中的临界区实现代码,有利于加深对临界区的理解-windows of the core programming code of the critical zones is conducive to deepening the understanding of the critical region
multithreadSyn
- 多线程同步,解决生产者消费者问题,应用临界区、互斥量、信号量等多种方式-Multi-thread synchronization to solve the producer consumer problem, apply the critical region, mutexes, semaphores and other methods
PiSolution
- 多核架构编程:利用临界区多线程并行求PI值 只有C++文件 多核作业-Multicore programming: the use of the critical region is multi-threaded parallel seek the value of PI C++ file
Critical
- 关于临界区的问题,对初学者有和好的帮助,里面详细的讲解了代码的过程-About the problem of the critical region, and good help for beginners, which explains in detail the process of the code
sell
- 多线程模拟多个窗口售票,使用了访问临界区-Multithreading simulate multiple ticket window, use the access critical region
31770395
- Converts a bitmap into a region()
