summaryrefslogtreecommitdiff
path: root/ACE/ace/File_Lock.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-05-23 13:33:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-05-23 13:33:56 +0000
commit0449015e59162f4159f2e8802156968442417e15 (patch)
tree24cbebdcec340cb1e2524f9f8ff9c6e61646c4d8 /ACE/ace/File_Lock.h
parentea5abcfb2bd8115f96a7156616d499cdbf48e126 (diff)
downloadATCD-0449015e59162f4159f2e8802156968442417e15.tar.gz
Wed May 23 15:32:55 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/File_Lock.h')
-rw-r--r--ACE/ace/File_Lock.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/File_Lock.h b/ACE/ace/File_Lock.h
index 4a6beab51f1..405b8c9f6e9 100644
--- a/ACE/ace/File_Lock.h
+++ b/ACE/ace/File_Lock.h
@@ -78,8 +78,8 @@ public:
* Note, for interface uniformity with other synchronization
* wrappers we include the <tryacquire> method. This is implemented
* as a write-lock to be on the safe-side... Returns -1 on failure.
- * If we "failed" because someone else already had the lock, <errno>
- * is set to <EBUSY>.
+ * If we "failed" because someone else already had the lock, @c errno
+ * is set to @c EBUSY.
*/
int tryacquire (short whence = 0, ACE_OFF_T start = 0, ACE_OFF_T len = 1);
@@ -93,14 +93,14 @@ public:
/**
* Conditionally acquire a write lock (i.e., won't block). Returns
* -1 on failure. If we "failed" because someone else already had
- * the lock, <errno> is set to <EBUSY>.
+ * the lock, @c errno is set to @c EBUSY.
*/
int tryacquire_write (short whence = 0, ACE_OFF_T start = 0, ACE_OFF_T len = 1);
/**
* Conditionally upgrade to a write lock (i.e., won't block). Returns
* -1 on failure. If we "failed" because someone else already had
- * the lock, <errno> is set to <EBUSY>.
+ * the lock, @c errno is set to @c EBUSY.
*/
int tryacquire_write_upgrade (short whence = 0,
ACE_OFF_T start = 0,
@@ -109,14 +109,14 @@ public:
/**
* Acquire a read lock, but block if a writer hold the lock.
* Returns -1 on failure. If we "failed" because someone else
- * already had the lock, <errno> is set to <EBUSY>.
+ * already had the lock, @c errno is set to @c EBUSY.
*/
int acquire_read (short whence = 0, ACE_OFF_T start = 0, ACE_OFF_T len = 1);
/**
* Conditionally acquire a read lock (i.e., won't block). Returns
* -1 on failure. If we "failed" because someone else already had
- * the lock, <errno> is set to <EBUSY>.
+ * the lock, @c errno is set to @c EBUSY.
*/
int tryacquire_read (short whence = 0, ACE_OFF_T start = 0, ACE_OFF_T len = 1);