summaryrefslogtreecommitdiff
path: root/ACE/ace/Guard_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
commitccd8d0fde164448b6258d9de3574e52374edc829 (patch)
treec955d352994cbd1cd500768dfe64f31e35ecfd9a /ACE/ace/Guard_T.h
parent7c4c934daf46588a0afbc2cf974fdc8946d49815 (diff)
downloadATCD-ccd8d0fde164448b6258d9de3574e52374edc829.tar.gz
Diffstat (limited to 'ACE/ace/Guard_T.h')
-rw-r--r--ACE/ace/Guard_T.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Guard_T.h b/ACE/ace/Guard_T.h
index 184d776dc47..3c0870e1562 100644
--- a/ACE/ace/Guard_T.h
+++ b/ACE/ace/Guard_T.h
@@ -52,8 +52,8 @@ public:
ACE_Guard (ACE_LOCK &l, bool block);
/// Initialise the guard without implicitly acquiring the lock. The
- /// <become_owner> parameter indicates whether the guard should release
- /// the lock implicitly on destruction. The <block> parameter is
+ /// @a become_owner parameter indicates whether the guard should release
+ /// the lock implicitly on destruction. The @a block parameter is
/// ignored and is used here to disambiguate with the preceding
/// constructor.
ACE_Guard (ACE_LOCK &l, bool block, int become_owner);
@@ -77,9 +77,9 @@ public:
void disown (void);
// = Utility methods.
- /// 1 if locked, 0 if couldn't acquire the lock
+ /// true if locked, false if couldn't acquire the lock
/// (errno will contain the reason for this).
- int locked (void) const;
+ bool locked (void) const;
/// Explicitly remove the lock.
int remove (void);