RMemTool - acquire needed locks for operations