Establishing control of lock token for shared objects upon approval messages from all other processes
First Claim
1. A computer-implemented method of synchronizing a plurality of processes in a distributed system, the method comprising:
- when a first process requires access to a shared object in an object-oriented programming environment, the first process establishing control of a transmittable lock token associated with the shared object and transmitting a message to each process of the plurality of processes indicating that the first process controls the lock token,wherein the first process establishes control in response to receiving an object control approval message from each other process in the plurality of processes.
6 Assignments
0 Petitions
Accused Products
Abstract
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.
76 Citations
17 Claims
-
1. A computer-implemented method of synchronizing a plurality of processes in a distributed system, the method comprising:
-
when a first process requires access to a shared object in an object-oriented programming environment, the first process establishing control of a transmittable lock token associated with the shared object and transmitting a message to each process of the plurality of processes indicating that the first process controls the lock token, wherein the first process establishes control in response to receiving an object control approval message from each other process in the plurality of processes. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. In a computer network system, a method of controlling access to a shared object in an object-oriented programing environment accessible by a plurality of processes running concurrently on the network, the method comprising:
-
associating a transmittable lock token with the shared object; allowing a process to access the shared object only when the process controls the associated lock token; and the process controlling the lock token transmitting a message to each process of the plurality of processes reporting that it controls the lock token, wherein the process establishes control of the lock token in response to receiving an object control approval message from each other process of the plurality of processes. - View Dependent Claims (8)
-
-
9. A system comprising:
-
a network interconnecting a plurality of processors; and each processor including; means for establishing control of a transmittable lock token associated with a shared object in an object-oriented programming environment; means for transmitting a message to each processor of the plurality of processors reporting that the respective processor has control of the lock token; means for transmitting an object control approval message to each other processor of the plurality of processors; and means for operating on the shared object only when the processor has established control of the associated lock token by receiving an object control approval message from each other processor. - View Dependent Claims (10, 11, 12)
-
-
13. A computer-implemented method of coordinating operations among a plurality of processes interconnected by a computer network, the method comprising:
-
(A) receiving a request for access to a first shared object in an object-oriented programming environment from a first process of the plurality of processes; (B) determining whether at least one other process is requesting access to the first shared object at a same time as the first process; (C) when no other process is requesting access to the first shared object, granting access to the first shared object to the first process when each process of the plurality of processes sends a message agreeing to grant access to the first process; and (D) when the first process and at least one other process are requesting access to the shared object at the same time, delaying the first process from requesting access to the first object for a first delay time period and delaying the second process from requesting access to the first object for a second delay time period different from the first delay time period and repeating steps (A)-(C). - View Dependent Claims (14, 15, 16, 17)
-
Specification