acquireLock() protected method
Acquires lock by given name.
See also http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock.
protected boolean acquireLock ( $name, $timeout = 0 ) | ||
---|---|---|
$name | string |
Of the lock to be acquired. |
$timeout | integer |
To wait for lock to become released. |
return | boolean |
Acquiring result. |
Please login to continue.