文件名称:pv2
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- 龙*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
信号量也称为信号锁,主要应用于进程间的同步和互斥,在用于互斥时,通常作为资源锁。信号量通常通过两个原子操作wait(P)和signal(V)来访问。wait操作使信号量的值+1,signal操作使信号量的值-1。本程序修改wait操作,使之能一次申请多个信号量-Semaphore is also known as signal lock, mainly used in inter-process synchronization and mutual exclusion, are used in mutually exclusive, it is usually as a resource lock. Semaphore usually through two atomic operations wait (P) and signal (V) to access. semaphore wait operation so that the value of+ 1, signal operation of the signal value of the volume of-1. The procedure to amend wait operation, so that it can apply more than one semaphore
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pv2
...\basic.h
...\pv.cpp
...\pv.dsp
...\pv.dsw
...\pv.ncb
...\pv.opt
...\pv.plg
...\basic.h
...\pv.cpp
...\pv.dsp
...\pv.dsw
...\pv.ncb
...\pv.opt
...\pv.plg