I am an absolute beginner with Ada, and there's one thing I cannot find a concrete definition for - that's the statement entry
.
I understand an entry with a barrier - if the barrier is true, the statement can execute and if false, the task is queued until it's evaluated to be true.
For example:
entry Get(Item : out Data_Item) when Number_In_Buffer /= 0 is
begin
...
end Get;
But what does it mean for the statement entry
to appear without a following when
statement?