摘要 |
A system and method for controlling access to a shared object among a plurality of interconnected processes. A lock token is associated with a shared object. In order for a process to access or modify the associated object, it must possess the lock token. Whenever a process establishes control of the lock token, it transmits a message to each other process indicating that the process controls the lock token. In some instances, in order for a process to establish control of the lock token, the process must receive approval from each other process. Further, when two or more processes request the lock token at the same time, neither process will gain control and each process will then wait for a random time period before again seeking control of the token.
|