文件名称:7
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 49kb
- 下载次数:
- 0次
- 提 供 者:
- j***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
创建4个线程,其中两个线程负责从文件读取数据到公共的缓冲区,另两个线程从缓冲区读取数据作不同的处理(加和乘运算)。使用信号量控制这些线程的执行。
-Creating 4 threads, two of which thread is responsible for reading data from file buffer to the public, the other two threads to read data from the buffer for different treatment (addition and multiplication.) Using semaphores to control these threads implementation.
-Creating 4 threads, two of which thread is responsible for reading data from file buffer to the public, the other two threads to read data from the buffer for different treatment (addition and multiplication.) Using semaphores to control these threads implementation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7.c
实验七.vsd
实验七.vsd