Treffer: A Comparison of the Mutual Exclusion Features in Ada and the Real-Time Specification for JavaTM.
Weitere Informationen
A concurrent program generally comprises a collection of threadsWe use the term "thread" generically to refer to a concurrent activity. When discussing a particular language's mechanism we use that language's terminology (e.g., "task" in Ada). that interact cooperatively, either directly or through shared data objects. In the latter case the sharing needs to be implemented by some mechanism that ensures mutually exclusive access, or possibly "concurrent read / exclusive write". Ada and the Real-Time Specification for Java have taken different approaches to mutual exclusion. This paper analyzes and compares them with respect to programming style (clarity, encapsulation, avoidance of errors such as deadlock), priority inversion management, expressibility/generality, and efficiency. It also looks at interactions with exceptions and asynchronous transfer of control. [ABSTRACT FROM AUTHOR]
Copyright of Reliable Software Technology - Ada-Europe 2005 is the property of Springer eBooks and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)