Automatic compiler recognition of monitor tasks

  • Authors:
  • Jonathan L. Schilling;Johan Olmütz Nielsen

  • Affiliations:
  • DDC-I, Inc., 295 Madison Avenue, New York, NY;DDC International A/S, Gl. Lundtoftevej 1 B, DK-2800 Lyngby, Denmark

  • Venue:
  • ACM SIGAda Ada Letters
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

Monitor tasks, also known as passive tasks, are a kind of Ada task that is subject to well-known and very powerful optimization. In most compilation systems that perform this optimization, monitor tasks are identified to the complier by the user, via an implementation-defined pragma. This paper describes an alternate approach, whereby the compiler automatically recognizes and optimizes monitor tasks, without need of a pragma, compiler option, or any other user action. The advantages and disadvantages of this approach are discussed, both in terms of the functional impact to the user and the execution-time efficiency of the optimization.