The Commons

Back to Results

Patent Title: Method and system for lock instrumentation in a data processing system

Assignee: IBM
Patent Number: US5659757
Issue Date: 08-19-1997
Application Number:
File Date:04-27-1995


Abstract: A method and system for using a single lock data structure for executing either development or non-development lock primitives contained within a kernel. The kernel includes a mode indication flag, which can be set by the user, for indicating whether the kernel is to operate in a development or a non-development mode. During the execution of the kernel, the mode indication flag is examined and the appropriate set of lock primitives is overlayed. During execution of the kernel in development mode, the single lock data structure is received in the kernel, and a development lock data structure is allocated. The data from the single lock data structure is copied to the development lock data structure, and the lock data structure is overloaded (redefined) as a pointer to the physical address of the development lock data structure. Finally, the lock data structure is initialized to point to the physical address of the development lock data structure. Thereby allowing the user to have full access to the development lock primitives using the redefined lock data structure.

Notes:

Link to USPTO

IBM Pledge dated 1/11/2005