多线程同步(多线程如何访问临界区资源)

时间:2015-09-22 11:37:12
【文件属性】:
文件名称:多线程同步(多线程如何访问临界区资源)
文件大小:7.14MB
文件格式:ZIP
更新时间:2015-09-22 11:37:12
线程同步 临界区 该demo展示了多线程使用临界区访问共享资源,并与不使用临界区对共享资源 访问做对比;并展示了多种开启线程(AfxBeginThread、_beginthreadex)的 方式
【文件预览】:
testThread
----testThread()
--------stdafx.cpp(141B)
--------testThread.vcproj.PC-201102161734.Administrator.user(1KB)
--------res()
--------stdafx.h(2KB)
--------testThread.vcproj(5KB)
--------testThread.vcproj.PCOS-01010149.Administrator.user(1KB)
--------targetver.h(1KB)
--------testThread.vcproj.PCOS-01010149.Administrator219.user(1KB)
--------testThreadDlg.cpp(6KB)
--------testThreadDlg.h(1KB)
--------testThread.rc(5KB)
--------resource.h(866B)
--------testThread.cpp(2KB)
--------testThread.h(465B)
--------Debug()
--------testThread.aps(58KB)
--------ReadMe.txt(3KB)
----testThread.suo(20KB)
----testThread.sln(896B)

网友评论

  • 代码简单明了,注释与说明齐全十分容易看明白