Skip to end of metadata
Go to start of metadata

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-branch-10-r378689

  • No labels