I have tested the performance of slim reader/writer lock under windows 7 using the codefrom Windows Via C/C++.
The result surprised me that the exclusive lock o
A Windows kernel developer devoted to optimizing locks in Windows told me with regards to performance as a rule of thumb:
Obviously there are other aspects about the locks that one should consider:
So yeah, just favor CS unless reads >>>> writes.