CLEAR SEMAPHORE CommandThis command resets a named semaphore to its Clear state. The semaphore is identified by its name and scope (which must be either LOCAL or TEST-WIDE). A test-wide semaphore is one that is shared by all Scripts running as part of a distributed test; a local semaphore is only shared between Scripts running on the local node. The ON ERROR GOTO err-label clause can be specified to define a label to which control should be transferred in the event of an error. Command Definition:CLEAR {scope} SEMAPHORE semaphore-name {,ON ERROR GOTO err-label} scopeThe scope of the semaphore to clear. This must be either LOCAL or TEST-WIDE, and defaults to LOCAL. semaphore-nameA character variable, or quoted character string, containing the name of the semaphore to clear. err-labelA label defined within the current scope of the Script to which control branches if an error occurs. Example:CLEAR LOCAL SEMAPHORE "USERSEM" |
|
<<< prev page |
^^^ section start |
>>> next page |
Proud to be Open, prouder to be Free |
OpenSTA SCL Reference, version 2.0.6 Copyright & License Info on ToC page |
Last Updated: 2005-05-11 |