User talk:Dmitry-kazakov: Difference between revisions
Content added Content deleted
(→exception propagation in Ada.: new section) |
m (→exception propagation in Ada.: clarify) |
||
Line 20: | Line 20: | ||
== exception propagation in Ada. == |
== exception propagation in Ada. == |
||
In [[Rendezvous#The_task]] what do these lines do: |
In [[Rendezvous#The_task|Ada's Rendezvous]] what do these lines do: |
||
exception |
exception |
||
when Out_Of_Ink => |
when Out_Of_Ink => |
||
null; |
null; |
||
end; |
end; |
||
They look like they are masking/ignoring the Out_Of_Ink exception. |
They look like they are masking/ignoring the ''Out_Of_Ink'' exception. |
||
Whereas program appears to propagate Out_Of_Ink back to Mother_Goose. e.g. |
Whereas program appears to propagate ''Out_Of_Ink'' back to ''Mother_Goose''. e.g. |
||
requeue Backup.Print with abort; |
requeue Backup.Print with abort; |
||
Is that because |
Is that because of the ''with abort''? |
||
Also: when the task is requeued, |
Also: when the task is requeued, does the ''Main'' printer suspend |
||
waiting for Backup to finish? |
waiting for ''Backup'' to finish? (Or is the exception propagated directly |
||
back to ''Mother_Goose'' without passing through ''Backup'') |
|||
ThanX |
|||
⚫ | |||
⚫ |