Asterisk Project : Asterisk 11 Function_TRYLOCK This page last changed on Jul 20, 2012 by wikibot. # TRYLOCK() ### Synopsis Attempt to obtain a named mutex. ### Description 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. ### Syntax
    TRYLOCK(lockname)
##### Arguments `lockname` ### Import Version This documentation was imported from Asterisk Version SVN-trunk-r370328

Document generated by Confluence on Nov 02, 2012 17:43