A method of optimizing memory synchronization through software in a
multi-threaded computer system using a read-initiated memory
synchronization process is described. One or more embodiments of the
invention may operate in a computer system capable of executing at least
one computational activity needing exclusive access shared memory. In the
method of one or more embodiments, a multi-field lock may be associated
with shared memory to reserved it for exclusive use by a first processor,
and where the multi-field lock is already reserved by a second processor,
synchronizing the shared memory by the second processor, updating the
multi-field lock reservation information; and performing instruction
synchronization for the first processor.