summaryrefslogtreecommitdiff
path: root/ACE/ace/Semaphore.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/Semaphore.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/Semaphore.h')
-rw-r--r--ACE/ace/Semaphore.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/Semaphore.h b/ACE/ace/Semaphore.h
index d0bcc2324a0..96064adfdd1 100644
--- a/ACE/ace/Semaphore.h
+++ b/ACE/ace/Semaphore.h
@@ -61,7 +61,7 @@ public:
/**
* Block the thread until the semaphore count becomes greater than 0
* (at which point it is decremented) or until @a tv times out (in
- * which case -1 is returned and <errno> == <ETIME>). Note that @a tv
+ * which case -1 is returned and @c errno == @c ETIME). Note that @a tv
* is assumed to be in "absolute" rather than "relative" time. The
* value of @a tv is updated upon return to show the actual
* (absolute) acquisition time.
@@ -79,7 +79,7 @@ public:
* If @a tv == 0 then call <acquire()> directly. Otherwise, Block
* the thread until the semaphore count becomes greater than 0
* (at which point it is decremented) or until @a tv times out (in
- * which case -1 is returned and <errno> == <ETIME>). Note that
+ * which case -1 is returned and @c errno == @c ETIME). Note that
* <*tv> is assumed to be in "absolute" rather than "relative" time.
* The value of <*tv> is updated upon return to show the actual
* (absolute) acquisition time.
@@ -95,8 +95,8 @@ public:
/**
* Conditionally decrement the semaphore if count is greater than 0
* (i.e., won't block). Returns -1 on failure. If we "failed"
- * because someone else already had the lock, <errno> is set to
- * <EBUSY>.
+ * because someone else already had the lock, @c errno is set to
+ * @c EBUSY.
*/
int tryacquire (void);
@@ -127,7 +127,7 @@ public:
* <tryacquire> and is only here to make the ACE_Semaphore
* interface consistent with the other synchronization APIs.
* 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 tryacquire_read (void);
@@ -136,7 +136,7 @@ public:
* <tryacquire> and is only here to make the ACE_Semaphore
* interface consistent with the other synchronization APIs.
* 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 tryacquire_write (void);