Synopsis:
Attempt to obtain a named mutex
Description:
TRYLOCK(<lockname>)
Attempts to grab a named lock exclusively, and prevents other channels from
obtaining the same lock. Returns 1 if the lock was available or 0
otherwise.
- *CLI> show function TRYLOCK
See also
- Asterisk func lock Function LOCK()
- Asterisk variables
- Asterisk functions