diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-07 17:58:38 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-08-07 17:58:38 +0000 |
commit | 3768ede8dc5dd72d676bcf1a7bb41db88ec6e740 (patch) | |
tree | 21481c02d25a235b3dedc7d8364763fd1cc5737a | |
parent | 32e9c835838839f032090d041029fba8e50adaa9 (diff) | |
download | ATCD-3768ede8dc5dd72d676bcf1a7bb41db88ec6e740.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-98b | 7 | ||||
-rw-r--r-- | ace/Activation_Queue.h | 8 | ||||
-rw-r--r-- | ace/Message_Queue_T.h | 12 |
3 files changed, 21 insertions, 6 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 63416caec76..2d1afaf414e 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,3 +1,10 @@ +Fri Aug 7 12:46:42 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Activation_Queue.h: Updated the documentation to indicate + the need for absolute rather than relative time values. Thanks + to Johannes Gutleber <Johannes.Gutleber@cern.ch> for reporting + this. + Fri Aug 07 02:06:54 1998 Nanbor Wang <nanbor@cs.wustl.edu> * tests/MsgQueue_Water_Mark_Test.{dsp,cpp}: Added a new test to diff --git a/ace/Activation_Queue.h b/ace/Activation_Queue.h index 3516b33b497..ab6f265c7e9 100644 --- a/ace/Activation_Queue.h +++ b/ace/Activation_Queue.h @@ -37,6 +37,14 @@ public: virtual ~ACE_Activation_Queue (void); // = Queue operations. + + // For the following two methods 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). + ACE_Method_Object *dequeue (ACE_Time_Value *tv = 0); // Dequeue the next available <Method_Object>. diff --git a/ace/Message_Queue_T.h b/ace/Message_Queue_T.h index 0be6bcd8745..aaa775e1fae 100644 --- a/ace/Message_Queue_T.h +++ b/ace/Message_Queue_T.h @@ -89,12 +89,12 @@ public: // = Enqueue and dequeue methods. - // For all the following routines 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). + // For the following enqueue and dequeue methods 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). virtual int peek_dequeue_head (ACE_Message_Block *&first_item, ACE_Time_Value *timeout = 0); |