Using Conditional Procure Statements

There is no direct way to set a time limit on an unconditional procure statement. One alternative is to use a conditional procure statement, such as the FIX statement in ALGOL or a LOCK statement with an AT LOCKED clause in COBOL. If the conditional procure operation fails, the process could attempt it again after a specified time period. (Note that the process should not execute conditional procure operations in rapid succession, as this causes the problem discussed under Buzz Loops earlier in this section.) If several conditional procure operations fail, the process could check the status of other processes that might have procured the event.