On Sat, 2012-05-26 at 17:23 +0800, Ming Lei wrote:> > You mean that the below is good usage of lock?> > LOCK A> LOCK B> > UNLOCK A> UNLOCK B Yep, nothing wrong with that. Its lock order that matters, unlock verymuch not so.