User talk:Dmitry-kazakov: Difference between revisions

Content added Content deleted
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 if the "with abort"?
Is that because of the ''with abort''?


Also: when the task is requeued, to the Main printer suspend
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
[[User:NevilleDNZ|NevilleDNZ]] 06:28, 19 February 2009 (UTC)

[[User:NevilleDNZ|NevilleDNZ]] 06:33, 19 February 2009 (UTC)