Annotated Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

D.6 Preemptive Abort

1
[This clause specifies requirements on the immediacy with which an aborted construct is completed.] 

Dynamic Semantics

2
On a system with a single processor, an aborted construct is completed immediately at the first point that is outside the execution of an abort-deferred operation.

Documentation Requirements

3
On a multiprocessor, the implementation shall document any conditions that cause the completion of an aborted construct to be delayed later than what is specified for a single processor. 
3.a/2
This paragraph was deleted.Implementation defined: On a multiprocessor, any conditions that cause the completion of an aborted construct to be delayed later than what is specified for a single processor.
3.b/2
Documentation Requirement: On a multiprocessor, any conditions that cause the completion of an aborted construct to be delayed later than what is specified for a single processor.

Metrics

4
The implementation shall document the following metrics: 
5
6
7/2
8
8.a/2
Documentation Requirement: The metrics for aborts.

Implementation Advice

9
Even though the abort_statement is included in the list of potentially blocking operations (see 9.5.1), it is recommended that this statement be implemented in a way that never requires the task executing the abort_statement to block.
9.a/2
Implementation Advice: The abort_statement should not require the task executing the statement to block.
10
On a multi-processor, the delay associated with aborting a task on another processor should be bounded; the implementation should use periodic polling, if necessary, to achieve this.
10.a/2
Implementation Advice: On a multi-processor, the delay associated with aborting a task on another processor should be bounded.
NOTES
11
35  Abortion does not change the active or base priority of the aborted task.
12
36  Abortion cannot be more immediate than is allowed by the rules for deferral of abortion during finalization and in protected actions.

Contents   Index   References   Search   Previous   Next 
Ada-Europe Sponsored by Ada-Europe