semaphore.unlock
| Syntax |
semaphore.unlock (name)
|
| Params |
name is a string specifying which semaphore to unlock
|
| Action |
Unlocks the specified semaphore
|
| Returns |
true if the semaphore was unlocked successfully false if there was no locked semaphore by that name
|
| Examples |
semaphore.lock ("Mine!", 0) » true
semaphore.unlock ("Mine!")
semaphore.unlock ("Mine!")
|
| Notes |
Semaphores are stored in the system.compiler.semaphores table; the value of each semaphore is a date value containing the time the semaphore was created. Semaphores are not linked to ODB cells; locking a semaphore called "user.prefs.name" does not have any effect (such as preventing modification) on the ODB object user.prefs.name.
|
| See Also |
semaphore.lock
|