注:自旋锁在单核处理器上无性能提升。 转自:http://www.parallellabs.com/2010/01/31/pthreads-programming-spin-lock-vs-mutex-performance-analysis/ POSIX threads(简称Pthreads)是在多核...