summaryrefslogtreecommitdiff
path: root/ACE/ace/Future.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
commit7a96a0d98d9bc982ef3964a8bfd69913a3ca4373 (patch)
tree71bb43af2b5138b239bf793029785076922d9ac2 /ACE/ace/Future.h
parent120546b69ce995607de011978e2b0ba51b073cda (diff)
downloadATCD-7a96a0d98d9bc982ef3964a8bfd69913a3ca4373.tar.gz
Wed Oct 3 19:31:15 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Future.h')
-rw-r--r--ACE/ace/Future.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/ACE/ace/Future.h b/ACE/ace/Future.h
index 8c4d15f133b..c172b0fd9ac 100644
--- a/ACE/ace/Future.h
+++ b/ACE/ace/Future.h
@@ -122,7 +122,7 @@ private:
ACE_Time_Value *tv) const;
/**
- * Attaches the specified observer to a subject (i.e., the <ACE_Future_Rep>).
+ * Attaches the specified observer to a subject (i.e., the ACE_Future_Rep).
* The update method of the specified subject will be invoked with a copy of
* the written-to ACE_Future as input when the result gets set.
*
@@ -133,9 +133,9 @@ private:
ACE_Future<T> &caller);
/**
- * Detaches the specified observer from a subject (i.e., the <ACE_Future_Rep>).
+ * Detaches the specified observer from a subject (i.e., the ACE_Future_Rep).
* The update method of the specified subject will not be invoked when the
- * <ACE_Future_Rep>s result gets set. Returns 1 if the specified observer was
+ * ACE_Future_Reps result gets set. Returns 1 if the specified observer was
* actually attached to the subject prior to this call and 0 if was not.
*
* Returns 0 if the observer was successfully detached, and -1 if the
@@ -195,8 +195,7 @@ private:
*
* Precondition (rep != 0 && new_rep != 0)
*/
- static void assign (ACE_Future_Rep<T> *&rep,
- ACE_Future_Rep<T> *new_rep);
+ static void assign (ACE_Future_Rep<T> *&rep, ACE_Future_Rep<T> *new_rep);
/// Is result available?
int ready (void) const;
@@ -207,11 +206,9 @@ private:
/// Reference count.
int ref_count_;
- typedef ACE_Future_Observer<T>
- OBSERVER;
+ typedef ACE_Future_Observer<T> OBSERVER;
- typedef ACE_Unbounded_Set<OBSERVER *>
- OBSERVER_COLLECTION;
+ typedef ACE_Unbounded_Set<OBSERVER *> OBSERVER_COLLECTION;
/// Keep a list of ACE_Future_Observers unread by client's reader thread.
OBSERVER_COLLECTION observer_collection_;