logical (in wait)
In a
wait statement, the logical keyword
designates that conditions must remain true for a wait statement
to become true.
Purpose
This keyword is used in the wait statement
to test whether conditions become valid or remain true during a designated
waiting period.
Context
Rule conditions
Syntax
(1) wait logical [[until] expression] [{condition}];
(2) ?variable
: wait [logical] [until] expression {condition}
...
then ...
timeout ?variable {action}
Description
In wait statements,
use the keyword logical to indicate that the previously
satisfied conditions must remain true for the wait statement
to become true. If you do not use the logical keyword,
all the previously satisfied conditions are ignored: they might become
false during the waiting period and the wait statement
might succeed.