summaryrefslogtreecommitdiff
path: root/ACE/ace/Semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Semaphore.h')
-rw-r--r--ACE/ace/Semaphore.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/ACE/ace/Semaphore.h b/ACE/ace/Semaphore.h
index afee6043bbd..eb70b5ac0b2 100644
--- a/ACE/ace/Semaphore.h
+++ b/ACE/ace/Semaphore.h
@@ -60,10 +60,10 @@ public:
/**
* Block the thread until the semaphore count becomes greater than 0
- * (at which point it is decremented) or until <tv> times out (in
- * which case -1 is returned and <errno> == <ETIME>). Note that <tv>
+ * (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
* is assumed to be in "absolute" rather than "relative" time. The
- * value of <tv> is updated upon return to show the actual
+ * value of @a tv is updated upon return to show the actual
* (absolute) acquisition time.
*
* @note Solaris threads do not support timed semaphores.
@@ -71,7 +71,8 @@ public:
* consider using the ACE POSIX pthreads implementation instead,
* which can be enabled by compiling ACE with
* -DACE_HAS_PTHREADS, rather than -DACE_HAS_STHREADS or
- * -DACE_HAS_POSIX_SEM. */
+ * -DACE_HAS_POSIX_SEM.
+ */
int acquire (ACE_Time_Value &tv);
/**
@@ -103,27 +104,27 @@ public:
/// thread.
int release (void);
- /// Increment the semaphore by <release_count>, potentially
+ /// Increment the semaphore by @a release_count, potentially
/// unblocking waiting threads.
int release (unsigned int release_count);
/**
* Acquire semaphore ownership. This calls <acquire> and is only
- * here to make the <ACE_Semaphore> interface consistent with the
+ * here to make the ACE_Semaphore interface consistent with the
* other synchronization APIs.
*/
int acquire_read (void);
/**
* Acquire semaphore ownership. This calls <acquire> and is only
- * here to make the <ACE_Semaphore> interface consistent with the
+ * here to make the ACE_Semaphore interface consistent with the
* other synchronization APIs.
*/
int acquire_write (void);
/**
* Conditionally acquire semaphore (i.e., won't block). This calls
- * <tryacquire> and is only here to make the <ACE_Semaphore>
+ * <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>.
@@ -132,7 +133,7 @@ public:
/**
* Conditionally acquire semaphore (i.e., won't block). This calls
- * <tryacquire> and is only here to make the <ACE_Semaphore>
+ * <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>.
@@ -140,7 +141,7 @@ public:
int tryacquire_write (void);
/**
- * This is only here to make the <ACE_Semaphore>
+ * This is only here to make the ACE_Semaphore
* interface consistent with the other synchronization APIs.
* Assumes the caller has already acquired the semaphore using one of
* the above calls, and returns 0 (success) always.