✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
We have the following piece of Ada code. Let us assume that two Bar messages have arrived before we get to the accept clause. During the processing of the accept clause a third Bar message arrives.
How many Bar messages will this task process in total?
task body Foo is begin -- do some non-message Foo processing here accept Bar (parameters) do -- do Bar processing here end Bar; -- do some non-message Foo processing here end Foo;