文件名称:MultiThread10
- 所属分类:
- 进程与线程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-02-05
- 文件大小:
- 4.78mb
- 下载次数:
- 0次
- 提 供 者:
- Vec***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用信号量来实现线程间的同步.在信号量对象有信号的状态下,线程执行到WaitForSingleObject语句处继续执行,
同时可用线程数减1;若线程执行到WaitForSingleObject语句时信号量对象无信号,
线程就在这里等待,直到信号量对象有信号线程才往下执行。-Using CSemaphore class to realize synchronization among threads.
同时可用线程数减1;若线程执行到WaitForSingleObject语句时信号量对象无信号,
线程就在这里等待,直到信号量对象有信号线程才往下执行。-Using CSemaphore class to realize synchronization among threads.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MultiThread10
.............\Debug
.............\.....\MultiThread10.bsc
.............\.....\MultiThread10.exe
.............\.....\MultiThread10.ilk
.............\.....\MultiThread10.obj
.............\.....\MultiThread10.pch
.............\.....\MultiThread10.pdb
.............\.....\MultiThread10.res
.............\.....\MultiThread10.sbr
.............\.....\MultiThread10Dlg.obj
.............\.....\MultiThread10Dlg.sbr
.............\.....\StdAfx.obj
.............\.....\StdAfx.sbr
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\MultiThread10.aps
.............\MultiThread10.clw
.............\MultiThread10.cpp
.............\MultiThread10.dsp
.............\MultiThread10.dsw
.............\MultiThread10.h
.............\MultiThread10.ncb
.............\MultiThread10.opt
.............\MultiThread10.plg
.............\MultiThread10.rc
.............\MultiThread10Dlg.cpp
.............\MultiThread10Dlg.h
.............\ReadMe.txt
.............\res
.............\resource.h
.............\...\MultiThread10.ico
.............\...\MultiThread10.rc2
.............\StdAfx.cpp
.............\StdAfx.h