文件名称:题目:多线程同步方法解决生产者-消费者问题
- 所属分类:
- 教育/学校应用
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 184kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
题目:多线程同步方法解决生产者-消费者问题 (Bounded - Buffer Problem) 内容:有界缓冲区内设有10个存储单元,放入/取出的数据项 设定为1~10这10个整形数。要求每个生产者和消费者对有界 缓冲区进行操作后,即时显示有界缓冲区的全部内容、当前指针位 置和生产者/消费者标识符。-topics : multithreaded synchronization solution to producer-consumer (Bounded- Buffer Problem) : Bounded buffer There are 10 storage units, Add/remove data items for a set of 10 ~ 10 plastic few. Require each producer and consumer sector of the buffer zone is operated, immediately after the show sector of the buffer zone all the contents of the current position and producer/consumer identifier.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Demo
....\MemFile.txt
....\pipe.txt
....\ProcessA.exe
....\ProcessB.exe
....\P_C.exe
....\ReadWrite.txt
....\SendMessage.txt
....\Thread.exe
....\ThreadMutex
....\...........\MainFrm.cpp
....\...........\MainFrm.h
....\...........\res
....\...........\...\Thread2.rc2
....\...........\Resource.h
....\...........\StdAfx.cpp
....\...........\StdAfx.h
....\...........\Thread2.clw
....\...........\Thread2.cpp
....\...........\Thread2.dsp
....\...........\Thread2.dsw
....\...........\Thread2.h
....\...........\Thread2.rc
....\...........\Thread2Doc.cpp
....\...........\Thread2Doc.h
....\...........\Thread2View.cpp
....\...........\Thread2View.h
....\创建进程
....\........\CntrlOtherPrcss.aps
....\........\CntrlOtherPrcss.clw
....\........\CntrlOtherPrcss.cpp
....\........\CntrlOtherPrcss.dsp
....\........\CntrlOtherPrcss.dsw
....\........\CntrlOtherPrcss.h
....\........\CntrlOtherPrcss.ncb
....\........\CntrlOtherPrcss.opt
....\........\CntrlOtherPrcss.plg
....\........\CntrlOtherPrcss.rc
....\........\CntrlOtherPrcssDlg.cpp
....\........\CntrlOtherPrcssDlg.h
....\........\ReadMe.txt
....\........\res
....\........\...\CntrlOtherPrcss.rc2
....\........\resource.h
....\........\StdAfx.cpp
....\........\StdAfx.h
....\操作系统实验指导.doc
....\操作系统课程设计指导.doc
....\线程同步
....\........\MainFrm.cpp
....\........\MainFrm.h
....\........\res
....\........\...\Thread4.rc2
....\........\...\Toolbar.bmp
....\........\Resource.h
....\........\StdAfx.cpp
....\........\StdAfx.h
....\........\Thread4.clw
....\........\Thread4.cpp
....\........\Thread4.dsp
....\........\Thread4.dsw
....\........\Thread4.h
....\........\Thread4.ncb
....\........\Thread4.opt
....\........\Thread4.plg
....\........\Thread4.rc
....\........\Thread4Doc.cpp
....\........\Thread4Doc.h
....\........\Thread4View.cpp
....\........\Thread4View.h
....\通过消息传递数据
....\................\Receiver
....\................\........\ReadMe.txt
....\................\........\Receiver.aps
....\................\........\Receiver.clw
....\................\........\Receiver.cpp
....\................\........\Receiver.dsp
....\................\........\Receiver.dsw
....\................\........\Receiver.h
....\................\........\Receiver.ncb
....\................\........\Receiver.opt
....\................\........\Receiver.plg
....\................\........\Receiver.rc
....\................\........\ReceiverDlg.cpp
....\................\........\ReceiverDlg.h
....\................\........\res
....\................\........\...\Receiver.rc2
....\................\........\Resource.h
....\................\........\StdAfx.cpp
....\................\........\StdAfx.h
....\................\Release
....\................\Sender
....\................\......\ReadMe.txt
....\MemFile.txt
....\pipe.txt
....\ProcessA.exe
....\ProcessB.exe
....\P_C.exe
....\ReadWrite.txt
....\SendMessage.txt
....\Thread.exe
....\ThreadMutex
....\...........\MainFrm.cpp
....\...........\MainFrm.h
....\...........\res
....\...........\...\Thread2.rc2
....\...........\Resource.h
....\...........\StdAfx.cpp
....\...........\StdAfx.h
....\...........\Thread2.clw
....\...........\Thread2.cpp
....\...........\Thread2.dsp
....\...........\Thread2.dsw
....\...........\Thread2.h
....\...........\Thread2.rc
....\...........\Thread2Doc.cpp
....\...........\Thread2Doc.h
....\...........\Thread2View.cpp
....\...........\Thread2View.h
....\创建进程
....\........\CntrlOtherPrcss.aps
....\........\CntrlOtherPrcss.clw
....\........\CntrlOtherPrcss.cpp
....\........\CntrlOtherPrcss.dsp
....\........\CntrlOtherPrcss.dsw
....\........\CntrlOtherPrcss.h
....\........\CntrlOtherPrcss.ncb
....\........\CntrlOtherPrcss.opt
....\........\CntrlOtherPrcss.plg
....\........\CntrlOtherPrcss.rc
....\........\CntrlOtherPrcssDlg.cpp
....\........\CntrlOtherPrcssDlg.h
....\........\ReadMe.txt
....\........\res
....\........\...\CntrlOtherPrcss.rc2
....\........\resource.h
....\........\StdAfx.cpp
....\........\StdAfx.h
....\操作系统实验指导.doc
....\操作系统课程设计指导.doc
....\线程同步
....\........\MainFrm.cpp
....\........\MainFrm.h
....\........\res
....\........\...\Thread4.rc2
....\........\...\Toolbar.bmp
....\........\Resource.h
....\........\StdAfx.cpp
....\........\StdAfx.h
....\........\Thread4.clw
....\........\Thread4.cpp
....\........\Thread4.dsp
....\........\Thread4.dsw
....\........\Thread4.h
....\........\Thread4.ncb
....\........\Thread4.opt
....\........\Thread4.plg
....\........\Thread4.rc
....\........\Thread4Doc.cpp
....\........\Thread4Doc.h
....\........\Thread4View.cpp
....\........\Thread4View.h
....\通过消息传递数据
....\................\Receiver
....\................\........\ReadMe.txt
....\................\........\Receiver.aps
....\................\........\Receiver.clw
....\................\........\Receiver.cpp
....\................\........\Receiver.dsp
....\................\........\Receiver.dsw
....\................\........\Receiver.h
....\................\........\Receiver.ncb
....\................\........\Receiver.opt
....\................\........\Receiver.plg
....\................\........\Receiver.rc
....\................\........\ReceiverDlg.cpp
....\................\........\ReceiverDlg.h
....\................\........\res
....\................\........\...\Receiver.rc2
....\................\........\Resource.h
....\................\........\StdAfx.cpp
....\................\........\StdAfx.h
....\................\Release
....\................\Sender
....\................\......\ReadMe.txt