Abstract
The selective wait statement is the most important element of the Ada tasking model. When entry calls are guarded using global information such as the clock and the entry attribute COUNT, two basic problems can occur. These problems occur because these guards are evaluated once, at the beginning of execution of the selective wait statement, and are not retested. Either a call may be accepted even though its guard would currently evaluate to false, or a call cannot be accepted even though its guard would currently evaluate to true. This paper describes these problems, offers solutions available without any language changes and then proposes an additional feature called reselect which adds to the operation of the selective wait statement and is an optional addition to an existing language construct.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.