acquireLock() protected method
Acquires lock by given name.
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.