added multi-threading and tests to lock_mgr_test: doesn't compile