- Contents
Interaction Designer Help
Semaphore Unlock
This System tool releases the lock set by a Semaphore Lock tool. A valid Semaphore Lock Handle returned by the Lock tool must be used to perform the unlock.
An error will occur if more unlocks are called than locks that were placed by a handler.
Inputs
Semaphore Resource Name
Name of resource for which a lock should be released.
Semaphore Lock Handle
Lock handle returned by a Semaphore Lock tool in this handler, or returned by a subroutine.
Exit Paths:
Success
This path is taken if the resource name and Lock Handle were valid, and the lock is released. Another handler that has been waiting will immediately access this lock.
Failure
This path is taken if the resource name or Lock Handle was invalid, or a system error occurred. The trace logs can be used to determine why a failure has occurred.