As far as I know in old versions of Boost boost::mutex
implementation for Windows was done using critical sections. But in the newest version of Boost 1.51 I discovered that now mutex implementation is based on Events.
Does anybody know what is the rational behind this change? Was it done because of performance reasons? Do critical sections become deprecated?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…