Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Type-safe concurrent resource sharing

Published: 01 June 2011 Publication History

Abstract

Concurrent systems often have many processes sharing a common set of resources, both memory regions and hardware devices. Among the many challenges in producing safe concurrent software are single access, atomic transactions, starvation, and deadlock. Locks are frequently used to provide single access to shared resources, but do not guarantee safe usage. This paper extends the previous work on linear, singleton, and arithmetic types and linear memory primitives. Our contributions are capabilities for shared resources, and locks to control these capabilities in provably safe ways. We present formalized locks in a lambda calculus along with the soundness properties of preservation and progress. The type system described here prevents data races. The formalized locks have also been implemented in a C-like language and used in a network device driver. Copyright © 2010 John Wiley & Sons, Ltd.

Index Terms

  1. Type-safe concurrent resource sharing
    Index terms have been assigned to the content through auto-classification.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Concurrency and Computation: Practice & Experience
    Concurrency and Computation: Practice & Experience  Volume 23, Issue 8
    June 2011
    142 pages

    Publisher

    John Wiley and Sons Ltd.

    United Kingdom

    Publication History

    Published: 01 June 2011

    Author Tags

    1. concurrency
    2. data race
    3. device driver
    4. lambda calculus
    5. locks
    6. type theory

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 0
      Total Downloads
    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 13 Sep 2024

    Other Metrics

    Citations

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media