Patent ID: 6076126
Filing Date: 2000-06-13
Classification: G06F

Abstract:
A method of providing lock services for shared resources comprising the steps of:transmitting by a first processor, a read request over a bus to a first entry in a lock record data structure;reading data from said first entry into a first buffer, said data identifying one of said shared resources and indicating whether said shared resource is locked by a second processor;examining said data to determine if said shared resource is locked by said second processor;preparing new data for writing to said lock record data structure, said new data identifying said first processor and indicating that said first processor owns a lock on a first resource;transmitting said data and said new data to said lock record data structure;re-reading data from said first entry from said lock record data structure;comparing said re-read data to said data; andif said re-read data matches said data, writing said new data to said entry in said lock record data structure.