TrinityCore/TrinityCore — comment on commit e3fa04823df6934a3e6471319aa53bc44a7b6f8f
File:  line 0
By megamage:

@Shocker
If another thread is holding the lock, the current thread will stop within locked(), until it returns a value, which should be non-zero.