Copy of: Mina build for Deadlock | LockMeta