A computer system uses transient blocking synchronization for performing
operations on shared memory. When performing operations on more than one
memory location, the computer system obtains transient exclusive access
to a first memory location. The computer system then obtains transient
exclusive access to a second memory location, where the transient
exclusive access to the second memory location does not expire prior to
an expiration of the transient exclusive access to the first memory
location or until explicitly unleased.