diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-29 14:43:19 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-29 14:43:19 +0000 |
commit | e8bf119c20f5cd134967cbf093a7681d48879a54 (patch) | |
tree | 0803a66cae3efb7de50a6624e8c69e4ab51c1138 | |
parent | d39acd8b6919590106e7ea573bcd597fd5f20f0e (diff) | |
download | ATCD-e8bf119c20f5cd134967cbf093a7681d48879a54.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-98b | 103 |
1 files changed, 57 insertions, 46 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index 06120c2d756..962d3463d3a 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,51 +1,62 @@ +Wed Jul 29 09:41:23 1998 David L. Levine <levine@cs.wustl.edu> + + * ace/config-linux-common.h: added #define + ACE_DEFAULT_SELECT_REACTOR_SIZE 256 so that the + ACE_Select_Reactor works with this fix: + + if (size > (size_t) ACE::max_handles ()) + return ACE::set_handle_limit (size); + + On Linux (2.0.34), only root can set RLIMIT_NOFILE above 256. + Wed Jul 29 04:19:05 1998 Nanbor Wang <nanbor@cs.wustl.edu> - * Integrate TP_Reactor into ACE. Major framwork designed by - Irfan. Here's his changelog: - - * ace/TP_Reactor.h (ACE_TP_Reactor): One of the short comings of - the Select_Reactor in ACE was that it did not support a thread - pool based event dispatching model, similar to the one in - WFMO_Reactor. In Select_Reactor, only thread can be blocked - in handle_events() at any given time. - - A new Reactor has been added to ACE that removes this - short-coming. TP_Reactor is a specialization of Select - Reactor to support thread-pool based event dispatching. This - Reactor takes advantage of the fact that events reported by - select() are persistent if not acted upon immediately. It - works by remembering the event handler that just got - activated, releasing the internal lock (so that some other - thread can start waiting in the event loop) and then - dispatching the event handler outside the context of the - Reactor lock. - - This Reactor is best suited for situations when the callbacks - to event handlers can take arbitrarily long and/or a number of - threads are available to run the event loops. - - Note that callback code in Event Handlers - (e.g. Event_Handler::handle_input) does not have to be - modified or made thread-safe for this Reactor. This is - because an activated Event Handler is suspended in the Reactor - before the upcall is made and resumed after the upcall - completes. Therefore, one Event Handler cannot be called by - multiple threads simultaneously. - - * ace/Reactor.cpp (ACE_Reactor): - ACE_USE_TP_REACTOR_FOR_REACTOR_IMPL can be used to make the - TP_Reactor the default Reactor implementation that will be - used by ACE_Reactor. - - I still need to add the reliable shutdown method and a - TP_Reactor_Test. - - * ace/Select_Reactor.{h,i,cpp} (renew): Moved decision of renew - supression from ACE_Select_Reactor_Notify::handle_input to this - method, which is a more appropriate place. - - * ace/Token.h (ACE_Token): Added more comprehensive comments about - the recent changes of reader/writer semantic. + * Integrate TP_Reactor into ACE. Major framwork designed by + Irfan. Here's his changelog: + + * ace/TP_Reactor.h (ACE_TP_Reactor): One of the short comings of + the Select_Reactor in ACE was that it did not support a thread + pool based event dispatching model, similar to the one in + WFMO_Reactor. In Select_Reactor, only thread can be blocked + in handle_events() at any given time. + + A new Reactor has been added to ACE that removes this + short-coming. TP_Reactor is a specialization of Select + Reactor to support thread-pool based event dispatching. This + Reactor takes advantage of the fact that events reported by + select() are persistent if not acted upon immediately. It + works by remembering the event handler that just got + activated, releasing the internal lock (so that some other + thread can start waiting in the event loop) and then + dispatching the event handler outside the context of the + Reactor lock. + + This Reactor is best suited for situations when the callbacks + to event handlers can take arbitrarily long and/or a number of + threads are available to run the event loops. + + Note that callback code in Event Handlers + (e.g. Event_Handler::handle_input) does not have to be + modified or made thread-safe for this Reactor. This is + because an activated Event Handler is suspended in the Reactor + before the upcall is made and resumed after the upcall + completes. Therefore, one Event Handler cannot be called by + multiple threads simultaneously. + + * ace/Reactor.cpp (ACE_Reactor): + ACE_USE_TP_REACTOR_FOR_REACTOR_IMPL can be used to make the + TP_Reactor the default Reactor implementation that will be + used by ACE_Reactor. + + I still need to add the reliable shutdown method and a + TP_Reactor_Test. + + * ace/Select_Reactor.{h,i,cpp} (renew): Moved decision of renew + supression from ACE_Select_Reactor_Notify::handle_input to this + method, which is a more appropriate place. + + * ace/Token.h (ACE_Token): Added more comprehensive comments about + the recent changes of reader/writer semantic. Tue Jul 28 12:36:18 1998 Irfan Pyarali <irfan@cs.wustl.edu> |