|
ABSTRACT
Ada 83 has often been criticized for its lack of a lightweight data synchronization primitive. Compiler vendors have responded to this criticism by implementing the Haberman-Nassi algorithm with a construct called a passive task. The Ada 9X Project has proposed a change to the Ada language adding a protected record construct to support lightweight synchronization. In this paper, we illustrate the changes in coding required to convert an application originally designed to exploit passive tasking to use the protected record construct instead. The resulting software engineering effects of using passive tasks and protected recordsre then compared for this sample task set. We conclude by discussing some protected recorded semantics that may require further clarification and/or modification, and some of the trade-offs that result.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
[1] A. Nico Habermann and Issac R. Nassi Efficient Implementation of Ada Tasks, Carnegie Mellon University, Department of Computer Science, CMU-CS-80-103, 1980.
|
 |
2
|
|
 |
3
|
|
 |
4
|
|
 |
5
|
|
| |
6
|
[6] Robert A. Duff, Offer Pazy, and William A. White, "Lightweigth Task Synchronization: The Protected Record Mechanism in Ada 9X" TRI-Ada '91 Conference Proceedings. October 1991. Attachment to Proceedings.
|
| |
7
|
[7] Ada 9X Mapping/Revision Team, Ada 9X Mapping, Volume II, Mapping Specification Office of the Under Secretary of Defense for Acquisition, December 1991. Version 4.0.
|
 |
8
|
C. D. Locke , D. R. Vogel , T. J. Mesler, Predictable real-time avionics design using Ada tasks and Rendezvous study, Proceedings of the fourth international workshop on Real-time Ada issues, p.118-125, July 16-20, 1990, Pitlochry, Perthshir, Scotland
|
| |
9
|
|
| |
10
|
[10] C. Douglass Locke, Dave Vogel, Lee Lucas, and John B. Goodenough, Generic Avionics Software Specification, Software Engineering Institute, Carnegie Mellon University, CMU/SEI-90-TR-8, December 1990.
|
 |
11
|
|
| |
12
|
[12] Ted Baker and Offer Pazy, "Real-Time Features for Ada 9X," Proceeding of the Twelfth IEEE Real-Time Systems Symposium, pp. 172-180, December 1991.
|
|