diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-05-02 22:56:38 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-05-02 22:56:38 +0000 |
commit | c5fe3bec003e0dd32e4637bf7709942cb1289ac7 (patch) | |
tree | 8749dec7b48118b2e216eea2c77eff2603b9c146 | |
parent | 61af4304e7e9c4fa5a14b8070b8e32e00372ac63 (diff) | |
download | ATCD-c5fe3bec003e0dd32e4637bf7709942cb1289ac7.tar.gz |
ChangeLogTag:Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 9 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 9 | ||||
-rw-r--r-- | tests/Dev_Poll_Reactor_Test.cpp | 12 |
4 files changed, 34 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 25b996b603a..6699db2ce20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Thu May 02 15:54:48 2002 Ossama Othman <ossama@uci.edu> + + * ace/Select_Reactor_T.cpp (work_pending): + + Check if any timers are pending. If so, override any timeout + from the select() call. Corrects a problem where the decision + that no work was pending despite the fact that timers were + pending. + Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu> * tests/Dev_Poll_Reactor_Test.cpp: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 25b996b603a..6699db2ce20 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,12 @@ +Thu May 02 15:54:48 2002 Ossama Othman <ossama@uci.edu> + + * ace/Select_Reactor_T.cpp (work_pending): + + Check if any timers are pending. If so, override any timeout + from the select() call. Corrects a problem where the decision + that no work was pending despite the fact that timers were + pending. + Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu> * tests/Dev_Poll_Reactor_Test.cpp: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 25b996b603a..6699db2ce20 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,12 @@ +Thu May 02 15:54:48 2002 Ossama Othman <ossama@uci.edu> + + * ace/Select_Reactor_T.cpp (work_pending): + + Check if any timers are pending. If so, override any timeout + from the select() call. Corrects a problem where the decision + that no work was pending despite the fact that timers were + pending. + Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu> * tests/Dev_Poll_Reactor_Test.cpp: diff --git a/tests/Dev_Poll_Reactor_Test.cpp b/tests/Dev_Poll_Reactor_Test.cpp index 8e1c3f2d2a2..c51109b1659 100644 --- a/tests/Dev_Poll_Reactor_Test.cpp +++ b/tests/Dev_Poll_Reactor_Test.cpp @@ -7,11 +7,13 @@ * This test verifies that the Dev_Poll_Reactor is functioning * properly, and demonstrates how "speculative reads" can be * performed. "Speculative reads" are necessary when using event - * demultiplexing mechanisms that use a "state change" interface. An - * example of demuxing mechanism with such an interface is Linux's - * `/dev/epoll' character device. Mechansims with state change - * interfaces are also said to be "edge triggered," versus "level - * triggered" mechanisms such as select(). + * demultiplexing mechanisms that use a "state change" interface. + * Similarly, "speculative writes" may be necessary, i.e. keep + * writing until the connection is flow controlled. An example of + * demuxing mechanism with such an interface is Linux's `/dev/epoll' + * character device. Mechansims with state change interfaces are + * also said to be "edge triggered," versus "level triggered" + * mechanisms such as select(). * * @author Ossama Othman <ossama@uci.edu> */ |