• DocumentCode
    1567896
  • Title

    Lock selection made easy

  • Author

    Shanneb, Abdelsalam ; Potter, John

  • Author_Institution
    Sch. of Comput. Sci. & Eng., New South Wales Univ., Sydney, NSW
  • fYear
    2006
  • Lastpage
    350
  • Abstract
    With the advent of multiprocessors on the desktop, software applications are increasingly likely to adopt multithreaded architectures. To cope with the complexity of concurrent systems, programmers build systems from thread-safe components. This produces excessive and redundant locking, restricting the potential for concurrency within the system. Rather than deploying individual thread-safe components, we advocate deferring the deployment of locks until the code dependencies are known. This avoids redundant locking, and allows the granularity of concurrency to be chosen in a flexible way. In earlier work we identified a formal relationship, known as a Galois connection, between the potential for concurrency in a composite system and the locking requirements for its components. This paper explores further properties of this relationship, and demonstrates how lock selection can be made easy with appropriate tool support
  • Keywords
    concurrency control; multi-threading; software architecture; software tools; Galois connection; concurrent system; multithreaded architecture; redundant locking; software application; software tool; thread-safe component; Application software; Australia; Computer languages; Computer science; Concurrent computing; Interconnected systems; Monitoring; Object oriented modeling; Program processors; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2006. Australian
  • Conference_Location
    Sydney, NSW
  • ISSN
    1530-0803
  • Print_ISBN
    0-7695-2551-2
  • Type

    conf

  • DOI
    10.1109/ASWEC.2006.33
  • Filename
    1615067