Asterisk func trylock

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


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


Created by: fhackenberger, Last modification: Wed 18 of Nov, 2009 (16:56 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+