发明名称 Method and system for lock instrumentation in a data processing system
摘要 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.
申请公布号 US5659757(A) 申请公布日期 1997.08.19
申请号 US19950430078 申请日期 1995.04.27
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BROWNING, LUKE MATTHEW;O'QUINN, II, JOHN THOMAS;PEEK, JEFFREY SCOTT
分类号 G06F9/46;(IPC1-7):G06F13/00 主分类号 G06F9/46
代理机构 代理人
主权项
地址