Locking tool data objects in a framework environment
First Claim
Patent Images
1. A mechanism for locking data objects for common tool access in an application development environment comprising:
- a repository comprising lock objects, each lock object having data to designate its state as occupied or free of an owning process; and
means for referencing lock objects from the data objects;
wherein the lock objects comprise;
shareable locks each having an indicator to designate its state as owned by multiple processes; and
exclusive locks each having an indicator to designate its state as owned by a single process;
wherein the indicator for each shareable lock comprises a reserved process identifier; and
wherein the indicator for each exclusive lock comprises a process identifier for the owning since process.
1 Assignment
0 Petitions
Accused Products
Abstract
When data, such as tool data, is commonly accessible, there is a danger that concurrent user processes will make overlapping modifications and leave the data in an incomplete or incomprehensible state. The invention provides a locking mechanism to guard against this. The lock objects are maintained in pool or repository. Two types of lock objects are provided; shareable locks that may be shared by many user processes and permit only read access to the locked data, and exclusive locks, useable by only one user process at a time, that permit the owning process to modify the locked data.
112 Citations
4 Claims
-
1. A mechanism for locking data objects for common tool access in an application development environment comprising:
-
a repository comprising lock objects, each lock object having data to designate its state as occupied or free of an owning process; and means for referencing lock objects from the data objects; wherein the lock objects comprise; shareable locks each having an indicator to designate its state as owned by multiple processes; and exclusive locks each having an indicator to designate its state as owned by a single process; wherein the indicator for each shareable lock comprises a reserved process identifier; and wherein the indicator for each exclusive lock comprises a process identifier for the owning since process. - View Dependent Claims (2, 3, 4)
-
Specification