rcclBlock(3)

NAME
rcclBlock -- wait for RCCL control level to execute one full cycle.

USAGE
rcclBlock()

RESTRICTIONS
This routine must be called from the planning level.

DESCRIPTION
This is the RCCL equivalent of rciBlock(): it suspends execution of the planning task until the control level has executed one complete cycle. This provides a simple way of syncronizing with the control level. If we do something that the control level will see on the next cycle, we can call rcclBlock() and be sure that the control level has noticed things when the routine returns.

rcclBlock() will return immediately if the RCCL control level is not active.

DIAGNOSTICS
The routine will abort the program if called from the control level.

SEE ALSO
rciBlock(3).