发明名称 Method and apparatus for advising a requesting process of a contention scheme to employ to access a shared resource
摘要 A method and apparatus in a multiprocessor computer system which advises a requesting process of how it should wait for a system process having shared data and/or shared resources that is currently occupied by another process. The method begins by storing data representing the state of the synchronization lock of the requested process in a memory within the computer system. A first processor acquires exclusive access to the data. The first processor reads the data. The first processor determines from a synchronization lock owner portion of the data if the synchronization lock of the requested process is currently owned by either the requesting process or another process executing on a second processor within the computer system, and if it is owned determines if the contention process indicated in an advice portion of the data is appropriate for the requesting process. If the contention process is appropriate, the first processor releases the exclusive access to the data and performs the contention process indicated by the advice portion of the data. If the contention process is not appropriate, the first processor releases the exclusive access to the data and performs a default contention process predetermined by the requesting process.
申请公布号 US5502840(A) 申请公布日期 1996.03.26
申请号 US19950497961 申请日期 1995.07.03
申请人 NCR CORPORATION 发明人 BARTON, RICHARD R.
分类号 G06F9/46;G06F9/52;G06F12/00;G06F15/16;G06F15/177;(IPC1-7):G06F13/14 主分类号 G06F9/46
代理机构 代理人
主权项
地址