diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-07-29 22:47:52 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-07-29 22:47:52 +0000 |
commit | 961d3aada351289d6dea845e4775414ff1f74c80 (patch) | |
tree | 7c3e64705e4d85d66b57bce0fe2470fa670bf169 | |
parent | c87a026faac44804463d24f21079231d6bffa4b4 (diff) | |
download | ATCD-961d3aada351289d6dea845e4775414ff1f74c80.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-98b | 6 | ||||
-rw-r--r-- | ace/Task_T.h | 21 |
2 files changed, 21 insertions, 6 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 0821acaac6b..51974cbb928 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,9 @@ +Wed Jul 29 17:46:21 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Task_T.h: Updated documentation to explain that + ACE_Time_Values are ABSOLUTE rather than relative. Thanks to + James Johnson for reporting this. + Wed Jul 29 16:05:16 1998 Carlos O'Ryan <coryan@cs.wustl.edu> * bin/Process_Unix.pm: diff --git a/ace/Task_T.h b/ace/Task_T.h index e3d2aecb5dc..09d6ed3bf62 100644 --- a/ace/Task_T.h +++ b/ace/Task_T.h @@ -58,24 +58,33 @@ public: public: // Should be protected: // = Message queue manipulation methods. + // = Enqueue and dequeue methods. + + // For the following five method if <timeout> == 0, the caller will + // block until action is possible, else will wait until the absolute + // time specified in *<timeout> elapses). These calls will return, + // however, when queue is closed, deactivated, when a signal occurs, + // or if the time specified in timeout elapses, (in which case errno + // = EWOULDBLOCK). + int putq (ACE_Message_Block *, ACE_Time_Value *tv = 0); - // Insert message into the message list. + // Insert message into the message queue. int getq (ACE_Message_Block *&mb, ACE_Time_Value *tv = 0); - // Extract the first message from the list (blocking). + // Extract the first message from the queue (blocking). int ungetq (ACE_Message_Block *, ACE_Time_Value *tv = 0); // Return a message to the queue. - int can_put (ACE_Message_Block *); - // Tests whether we can enqueue a message without blocking. - int reply (ACE_Message_Block *, ACE_Time_Value *tv = 0); // Turn the message around and send it back down the Stream. int put_next (ACE_Message_Block *msg, ACE_Time_Value *tv = 0); // Transfer message to the adjacent ACE_Task in a ACE_Stream. + int can_put (ACE_Message_Block *); + // Tests whether we can enqueue a message without blocking. + // = ACE_Task utility routines to identify names et al. const ASYS_TCHAR *name (void) const; // Return the name of the enclosing Module if there's one associated @@ -105,7 +114,7 @@ public: // Should be protected: // Manipulate watermarks. ACE_Message_Queue<ACE_SYNCH_USE> *msg_queue_; - // List of messages on the ACE_Task.. + // Queue of messages on the ACE_Task.. int delete_msg_queue_; // 1 if should delete Message_Queue, 0 otherwise. |