Update README.md

This commit is contained in:
Michael Skelton
2019-08-19 22:29:22 +10:00
committed by GitHub
parent 8f626dbd23
commit 39ecc2f766

View File

@@ -79,7 +79,9 @@ The following variables will be replaced in commands at runtime:
| \_random\_ | Replaced with the randomly-chosen file from interlace |
# Advanced Command File Usage (block and blocker)
Interlace also makes the use of two additional features for controlling execution flow within a command file: `\_blocker\_` and `\_block:<name>\_`.
Interlace also makes the use of two additional features for controlling execution flow within a command file: `_blocker_` and `_block:<name>_`. Blockers prevent execution before them, and blocks can be used to force sequential execution of threads for a target.
Threads will still multithread per-target, but using these features can allow you to control the execution flow for those targets more directly to prevent commands from running out of order.
## Blocker
Blockers prevent anything below them from executing until all commands above them have completed (for the currently active host). For example, in the following: