Browse Prior Art Database

Method for Distributed Computing Environment Global Locking Service

IP.com Disclosure Number: IPCOM000117799D
Original Publication Date: 1996-Jun-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 81K

Publishing Venue

IBM

Related People

Hahn, TJ: AUTHOR

Abstract

Disclosed is a method for using Distributed Computing Environment (DCE) to implement a cross-process and cross-machine locking service. A DCE server manages the initialization and termination of the lock and DCE RPC calls are used to allow client programs to obtain and release the lock. The lock service is extended to serve multiple simple mutex type locks and multiple instances of serialized access to server managed storage. The latter provides a notification method for changes made to the storage.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Method for Distributed Computing Environment Global Locking Service

      Disclosed is a method for using Distributed Computing
Environment (DCE) to implement a cross-process and cross-machine
locking service.  A DCE server manages the initialization and
termination of the lock and DCE RPC calls are used to allow client
programs to obtain and release the lock.  The lock service is
extended to serve multiple simple mutex type locks and multiple
instances of serialized access to server managed storage.  The latter
provides a notification method for changes made to the storage.

      When designing a distributed computing solution, it may be
necessary to institute some form of serialization between threads or
processes running on the same machine or different machines.  This
solution makes use of the blocking nature of a DCE RPC call to
implement cross-process and cross-machine locks using a DCE mutex
lock.  A DCE mutex lock is normally used to provide serialization
only between DCE threads running within the same process on the same
machine.  Because DCE RPC calls are serviced by a DCE server on
different DCE threads within the same process, the mutex lock can be
used to serialize RPC calls made to the DCE server.  In this way the
DCE mutex lock is used to provide serialization outside of the
process scope in which it is defined.

      A DCE server program is used to provide a running
implementation of a DCE RPC interface that has operations to obtain a
lock and release the lock.  The implementation of the RPC operations
uses a DCE mutex lock.  The GLSLock_RPC_lock() operation calls
pthread_mutex_lock() while the GLSLock_RPC_unlock() operation calls
pthread_mutex_unlock().

      By using a DCE RPC to access a DCE mutex lock which is
contained in a DCE server program, serialization can be extended
across processes and machines in a distributed computing environment.
The DCE RPC interface specification for an example of this method:
  uuid(f6999686-839e-11cf-8465-08005acd7d25), version (1.0)
  interface GLS...