pv

所属分类:操作系统开发
开发工具:Visual C++
文件大小:8KB
下载次数:10
上传日期:2008-12-01 17:01:21
上 传 者loong404
说明:  信号量也称为信号锁,主要应用于进程间的同步和互斥,在用于互斥时,通常作为资源锁。信号量通常通过两个原子操作wait(P)和signal(V)来访问。wait操作使信号量的值+1,signal操作使信号量的值-1。本程序模拟了操作系统的pv操作
(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. This procedure simulates the operation of the operating system pv)

文件列表:
pv\pv.dsp (4296, 2008-11-22)
pv\pv.dsw (527, 2008-11-22)
pv\pv.ncb (50176, 2008-11-22)
pv\basic.h (1827, 2008-11-22)
pv\pv.cpp (3071, 2008-11-22)
pv\pv.plg (1350, 2008-11-22)
pv\pv.opt (53760, 2008-11-22)
pv (0, 2008-12-01)

近期下载者

相关文件


收藏者