script-barrier-limit barrier [-add|-sub] [num_branches]
Changes the number of script branches that an existing script branch barrier waits for. The -add and -sub flags tell the command to add or subtract num_branches to or from the current wait limit. Without any flag, the new limit is set to num_branches. Lowering the limit below the number of currently waiting script branches for a barrier is not allowed. The command can be called without any argument to get the current limit. When used in an expression, the command returns the current wait limit.
Simics Core
script-branch,
create-script-barrier,
wait-for-script-barrier