semaphore.unlockAll
| Syntax |
semaphore.unlockAll ()
|
| Params |
None required
|
| Action |
Unlocks all semaphores
|
| Returns |
0
|
| Examples |
semaphore.lock ("Mine!", 0) » true
semaphore.unlockAll ()
semaphore.unlock ("Mine!")
|
| Notes |
This verb is implemented as a script. This verb should only be used in emergency situations; it may cause running scripts that depend on semaphores to behave incorrectly. Semaphores are stored in the system.compiler.semaphores table; the value of each semaphore is a record containing the time the semaphore was created and which thread created it.
|
| See Also |
semaphore.lock
|