aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-17 21:20:33 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-17 21:20:33 +0000
commit47e5d1ca0bd0bf5353f09d31ab5f8d505b2f261f (patch)
treed044ac9600298f787cd77115d5ff1901aad99538 /include
parentc180e625c1d48e531645f47588f20332175e9e29 (diff)
Merged revisions 64820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r64820 | tilghman | 2007-05-17 16:19:34 -0500 (Thu, 17 May 2007) | 10 lines Merged revisions 64819 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r64819 | tilghman | 2007-05-17 16:14:36 -0500 (Thu, 17 May 2007) | 2 lines How is it that we never caught that this is returning the opposite of our documentation, until now? ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64821 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/linkedlists.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h
index 268f827aa..0d17574de 100644
--- a/include/asterisk/linkedlists.h
+++ b/include/asterisk/linkedlists.h
@@ -33,7 +33,7 @@
This macro attempts to place an exclusive lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_LIST_LOCK(head) \
ast_mutex_lock(&(head)->lock)
@@ -44,7 +44,7 @@
This macro attempts to place an exclusive write lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_RWLIST_WRLOCK(head) \
ast_rwlock_wrlock(&(head)->lock)
@@ -55,7 +55,7 @@
This macro attempts to place a read lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_RWLIST_RDLOCK(head) \
ast_rwlock_rdlock(&(head)->lock)
@@ -66,7 +66,7 @@
This macro attempts to place an exclusive lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_LIST_TRYLOCK(head) \
ast_mutex_trylock(&(head)->lock)
@@ -77,7 +77,7 @@
This macro attempts to place an exclusive write lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_RWLIST_TRYWRLOCK(head) \
ast_rwlock_trywrlock(&(head)->lock)
@@ -88,7 +88,7 @@
This macro attempts to place a read lock in the
list head structure pointed to by head.
- Returns non-zero on success, 0 on failure
+ Returns 0 on success, non-zero on failure
*/
#define AST_RWLIST_TRYRDLOCK(head) \
ast_rwlock_tryrdlock(&(head)->lock)