资源列表
producerandconsumer
- 生产者-消费者问题: *设置两类线程,一类为生产者,一类为消费者; *设置生产者消费者数据结构; *使用菜单随机启动生产者或消费者; *在窗口上显示生产者或消费者的执行状态; *随着线程的执行,更新窗口的显示。 -Producer- Consumer problem:* Set up two threads, a category for producers, a category of consumers * Set up producers and consumers
bankalgorithm
- 该程序实现了操作系统中控制进程的一个非常重要的算法-银行家算法。-The program implements the operating system to control the process of a very important algorithms- bankers algorithm.
DrawLine 多线程画线的程序
- 这是一款用多线程画线的程序,对学习C++编写多线程程序很有帮助。-This is a line drawn with a multi-threaded program, write to learn C++ multi-threaded program helpful.
MTread
- 序工作者线程的实现(vc++多线程源程—一个多线程的实现)-Implementation of vc++ multi thread program worker thread
danwendangjinclz
- 利用VC++编程MFC中单文档的多线程的实例及说明文档,其中包含源代码,对于初学者非常有用,值得一看。-VC++ programming using MFC multi-threading in a single document, examples and documentation, including source code, very useful for beginners, worth a visit.
thread2_threadCommnicate
- windows 线程的三种通信方式,包括发消息,共享全局变量等。-three ways of communications between windows thread,include sendmessage ,share globals etc.
Philosophers
- 哲学家就餐问题,他们每个人的左边都有一支筷子,解决死锁问题-Dining philosophers problem, the left side of each of them has a chopsticks, solve the deadlock problem
222932
- 带有切分窗口的用户字典查找程序,有查找记录和分类的功能,学习vc++的非常好的代码,强烈推荐()
AppReceiveData
- 这个Windows应用程序利用多线程进行接收数据并入盘,也体现了虚拟内存和事件的使用。-Using the Multi_Thread Technology,this Windows program Reiceives data and Writes them into disk.It Also uses the Virtual RAM and event.
Process-name-to-take-the-process
- 进程名取进程ID,VC++编写.利用进程名得到进程的ID号.-Process name to take the process
PV
- 用多线程实现“生产者-消费者问题”本作业要求设计并实现一个进程,该进程拥有一个生产者线程和一个消费者线程,它们使用N个不同的缓冲区(N为一个自定义的确定的数值,例如N=32)。你需要使用如下信号量:一个互斥信号量,用以阻止生产者线程和消费者线程同时操作缓冲区列表;一个信号量,当生产者线程生产出一个物品时可以用它向消费者线程发出信号;一个信号量,消费者线程释放出一个空缓冲区时可以用它向生产者线程发出信号; -Achieved with multi-threaded " producer
Sort
- 多线程实现快速排序、冒泡排序等三种排序,排序过程的展示,直观性比较强-Fast multi-threaded sort, bubble sort, three sorting, sorting process, display, intuitive and strong