Create Operation - Semaphore Settings Edit Tab
- Updated2025-07-21
- 1 minute(s) read
Create Operation - Semaphore Settings Edit Tab
Create Operation
To use a semaphore, you must first create a reference to a new or existing Semaphore object. Enable the Create option on the left of the Semaphore Settings panel.
The Create operation contains the following options:
- Semaphore Name Expression —A unique name for the Synchronization object using a literal string or an expression that evaluates to a string. You can use the name attribute of synchronization objects to perform synchronization operations between executions within a single process or between separate processes and computers.
- Already Exists? (optional output) —The location for storing a Boolean value that indicates whether the Synchronization object already exists.
-
Semaphore Reference Lifetime
—A lifetime for the reference to the Synchronization object.
- Same as Sequence —Releases the object reference after the sequence executes.
- Same as Thread —Releases the object reference after the thread completes.
- Same as Execution —Releases the object reference after the execution completes.
- Use Object Reference —Use this option when you want to explicitly control the lifetime of the object reference or when you want to refer to the object using an object reference variable.
- Initial Semaphore Count —The initial value for the count. This value must be greater than or equal to 0 . If you know the semaphore already exists, you may leave this setting blank. If the semaphore already exists and you specify an initial count that differs from the existing initial count, the step reports a run-time error.