Atomic transactions