»

LJ::release_lock

LJ::release_lock — release a mysql lock on a given key/dbrole combination

Use

LJ::release_lock(db, dbrole, lockname);

Arguments

  • db. 

  • dbrole. the role this lock should be gotten on, either 'global' or 'user'

  • lockname. the name to be used for this lock

Source:

cgi-bin/ljlib.pl

Returns:

undef if called improperly, true on success, die() on failure