summaryrefslogtreecommitdiff
path: root/includes/lock.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-16 11:19:38 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-16 11:19:38 +0000
commitc56439cb15ad89ad91cfc140faac9e23614b0dfa (patch)
tree95be9ad56236b24b5c18751f76f1624671043d6d /includes/lock.inc
parent8dd4725eeb70614965ba9b7b407214756c8932c1 (diff)
downloadbrdo-c56439cb15ad89ad91cfc140faac9e23614b0dfa.tar.gz
brdo-c56439cb15ad89ad91cfc140faac9e23614b0dfa.tar.bz2
- Patch #855374 by aspilicious: fix newlines in lock.inc.
Diffstat (limited to 'includes/lock.inc')
-rw-r--r--includes/lock.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/lock.inc b/includes/lock.inc
index 3239b7f23..f23c49988 100644
--- a/includes/lock.inc
+++ b/includes/lock.inc
@@ -91,6 +91,7 @@ function _lock_id() {
* The name of the lock.
* @param $timeout
* A number of seconds (float) before the lock expires (minimum of 0.001).
+ *
* @return
* TRUE if the lock was acquired, FALSE if it failed.
*/
@@ -154,6 +155,7 @@ function lock_acquire($name, $timeout = 30.0) {
*
* @param $name
* The name of the lock.
+ *
* @return
* TRUE if there is no lock or it was removed, FALSE otherwise.
*/
@@ -190,6 +192,7 @@ function lock_may_be_available($name) {
* The name of the lock.
* @param $delay
* The maximum number of seconds to wait, as an integer.
+ *
* @return
* TRUE if the lock holds, FALSE if it is available.
*/