文件名称:paixuduxiesuo
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
使用CRITICAL_SECTION实现,有人提出CRITICAL_SECTION不能在A线程lock,然后B线程 unlock
其实这个不是问题,msdn中的描述也只是说不安全,没说一定错误,所以就是要保证lock次数=unlock次数,就不会有问题,代码经过强度测试,表示结果正确-To use CRITICAL_SECTION to achieve, someone asked the the CRITICAL_SECTION not A thread lock, then thread B unlock
In fact, this is not a problem descr iption msdn just not safe, did not say a certain error, it is to ensure that the lock times = unlock times, there would be no problem, correct code has been a strength test, said the results
其实这个不是问题,msdn中的描述也只是说不安全,没说一定错误,所以就是要保证lock次数=unlock次数,就不会有问题,代码经过强度测试,表示结果正确-To use CRITICAL_SECTION to achieve, someone asked the the CRITICAL_SECTION not A thread lock, then thread B unlock
In fact, this is not a problem descr iption msdn just not safe, did not say a certain error, it is to ensure that the lock times = unlock times, there would be no problem, correct code has been a strength test, said the results
(系统自动生成,下载前可以参看下载内容)
下载文件列表
排序读写锁\SortRWLock.cpp
..........\SortRWLock.h
排序读写锁