• DocumentCode
    3014676
  • Title

    A simple and correct shared-queue algorithm using compare-and-swap

  • Author

    Stone, Janice M.

  • Author_Institution
    IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
  • fYear
    1990
  • fDate
    12-16 Nov 1990
  • Firstpage
    495
  • Lastpage
    504
  • Abstract
    A compare-and-swap shared-queue algorithm is presented that permits concurrent access. This algorithm is nondelaying in that no processor need wait for an action by another processor. A verification method that analyzes the states of the shared data structure is given. By drawing a graph that incorporates in a simple way the effects of multiprocessor interleaving, one can quickly find errors in an algorithm or produce a proof of correctness. Since enqueue and dequeue operations may begin at any time, concurrent queue operations are represented by providing, in each state of the shared data structure, one transition that initiates an enqueue operation and another transition for a dequeue operation. The method is a practical one that is applicable to a variety of algorithms that use shared data structures
  • Keywords
    data structures; parallel algorithms; compare-and-swap; concurrent access; dequeue; enqueue; multiprocessor interleaving; shared data structure; shared-queue algorithm; verification method; Algorithm design and analysis; Automata; Electronic switching systems; Error correction; Interleaved codes; Large-scale systems; Logic; Multiprocessing systems; Queueing analysis; Tail;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Supercomputing '90., Proceedings of
  • Conference_Location
    New York, NY
  • Print_ISBN
    0-8186-2056-0
  • Type

    conf

  • DOI
    10.1109/SUPERC.1990.130060
  • Filename
    130060