体验新版 GitCode,发现更多精彩内容 >>
The comment said it's UB to call lock() while it is locked. That'd be quite a useless Mutex. :) It was supposed to say 'locked by the same thread', not just 'locked'.
拖放文件到此处或点击上传