create-sata-disk-comp create-script-pipe
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

create-script-barrier

Synopsis

create-script-barrier num_branches

Description

Creates a script barrier that can be used for synchronization of script branches. The return value should only be used as argument to the wait-for-script-barrier or script-barrier-limit commands.

A script branch enters a barrier by calling wait-for-script-barrier. It will then be suspended until num_branches script branches have entered the barrier. Once all script branches have reached the barrier, they are released and will continue executing. At the same time the barrier is reset and can be used again.

Provided By

Simics Core

See Also

script-branch, script-barrier-limit, wait-for-script-barrier
create-sata-disk-comp create-script-pipe