Issue No. 11 - November (1989 vol. 15)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.41338
<p>It is noted that critical races in concurrent Ada programs are an insidious source of system errors, and that the Ada language does not have concurrency features to ease the development of critical race-free programs. The authors illustrate this using the CRF language, which extends the Ada language by the addition of a powerful caller selection mechanism. It is this facility that implements a discriminatory mutual exclusion (dimutex) construct, an important feature for building less critical race-prone programs. The Mlog language supports the CRF caller selection mechanisms; thus it is convenient as a rapid-prototyping platform. A design method for systematically converting CRF designs into Ada designs is presented. The method uses a mixture of mechanical and creative transformations that are guaranteed not to introduce critical races. D. Helmbold and D. Luckham's (1985) gas-station example is used to illustrate the various approaches to applying the design method.</p>
critical races; concurrent Ada programs; system errors; Ada language; CRF language; caller selection mechanism; discriminatory mutual exclusion; dimutex; MLog language; rapid-prototyping; gas-station example; Ada; parallel programming
G. Bond, G. Karam and C. Stanczyk, "Critical Races in Ada Programs," in IEEE Transactions on Software Engineering, vol. 15, no. , pp. 1471-1480, 1989.