很好的两篇文章,一篇介绍os底层实现锁原来,一篇介绍widows下的应用。
http://blog.sina.com.cn/s/blog_75f0b54d0100r7af.html
http://blog.csdn.net/gundam_00/article/details/5112662
自旋锁:http://baike.baidu.com/view/1250961.htm