Patents
EP 0,145,889 A2#8738068 Most CitedPendingEuropean Patent Office (EPO)Application

Non-spinning task locking using compare and swap

11Forward Citations (#8738068 Global)
0.3/yrCitation Velocity (#27243791 Global)
14.36Citation PageRank (#581382 Global)
0Prior Art Cited
0Structured Claims
0Drawings / Sheets

Abstract

@ A method for controlling both shared and exclusive access for a resource in a multiprocessor system wherein a first-in/first-out queue is formed for tasks suspended while awaiting access and wherein access to the resource provides that control of access required for manipulation of the first-in/first-out queue which is not provided by the atomic nature of compare (double) and swap. Each member of the queue has indicators of the access which it requested and of the next most recently enqueued member which has a corresponding indicator. A lockword is established having two parts, a lock flag indicating the status of the resource, whether available, under shared ownership or under exclusive ownership and a lock pointer pointing to the most recently enqueued task. In requesting or releasing access, an initial guess is made as to the value of the lockword and a projected lockword is calculated based on the guess. Then an atomic reference is made to the lockword during which no other multiprocessor has access to the lockword. During the atomic reference, the lockword is compared to the guess of the lockword and if the guess is correct, the lockword is replaced by the projected lockword

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 11.

Claims (0)

No claim text indexed for this record.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (0)

No backward patent references recorded.

Non-Patent Literature (3)

  • IBM TECHNICAL DISCLOSURE BULLETIN, vol. 16, no. 7, December 1973, pages 2420-2422, New York, US; P.H. GUM et al.: "Locking architecture in a multiple virtual memory multiprocessing system"
  • IBM TECHNICAL DISCLOSURE BULLETIN, vol. 18, no. 5, October 1975, pages 1547-1548, New York, US; M. TARADALSKY: "First in/first out queuing technique using compare and swap"
  • IBM TECHNICAL DISCLOSURE BULLETIN, vol. 18, no. 6, November 1975, pages 1953-1954, New York, US; W.W. COLLIER et al.: "Spin queues"