Abstract
Most C++-based object-oriented databases have provided their own mechanisms for locking objects accessed in applications. However, some of these mechanisms make programmers spend a lot of time on locking objects and others are difficult to port on other systems. For alleviating these problems, this paper presents a mechanism for automatic object locking in those databases. In this locking mechanism, the lock for each object access in applications can be automatically determined at compile-time and then the lock can be automatically requested to the lock manager just before the object is accessed at run-time. Thus this mechanism is transparent to programmers and so it alleviates the impedance mismatch. As a result, programmers can spend less time on lockings and more time on specific application problems, and thus the productivity of application development can improve. Since this mechanism is independent of operating systems and lock managers, it can be easily ported on other C++based object-oriented databases.
Published Version (
Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have