Views and consistencies in distributed shared memory