diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-27 17:27:56 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-27 17:27:56 +0000 |
commit | b5e48d988a26cf3511a2d1c6baac50f30132a667 (patch) | |
tree | 3e2d2564c0dd109b838307c14e3acb41a6843fe0 | |
parent | c8ff43e83acd23d645525708c882bcc245296fb5 (diff) | |
download | ATCD-b5e48d988a26cf3511a2d1c6baac50f30132a667.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-97a | 36 | ||||
-rw-r--r-- | netsvcs/lib/Server_Logging_Handler_T.cpp | 3 |
2 files changed, 37 insertions, 2 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index cb96cda190a..f151daa4e91 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -1,3 +1,39 @@ +Tue May 27 07:49:03 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Future.cpp: Made a few minor reformatting changes to Per's + new Future enhancements. + +Tue May 27 14:19:14 1997 Per Andersson <Per.Andersson@hfera.ericsson.se> + + * ace/Future: Fixed self assignment bug in ACE_Future<>::operator=(). + Fixed bug in ACE_Future<>::set(). It is now possible to do a + ACE_Future<>::set() followed by a ACE_Future<>::get() without + hanging forever. + + Moved all handling of the ACE_Future_Rep<> reference count + into three new static ACE_Future_Rep<> member functions, + create, attach, assign and detach. + + Removed one mutex from ACE_Future_Rep<> by changing the + reference count from an ACE_Atomic_Op<int> into a plain + int. The ACE_Future_Rep<>::value_ready_mutex_ mutex is + instead used for serializing changes to the reference count. + (ACE_Future_Rep<>::attach, ACE_Future_Rep<>::detach()) + + Removed mutex from ACE_Future<> the serialization is + performed by the ACE_Future_Rep<>::attach, + ACE_Future_Rep<>::detach() and ACE_Future_Rep<>::assign() + functions. + + Changed the ACE_Future<> default constructor to always + create a ACE_Future_Rep<> + + * tests/Future_Test.cpp: Added test case for + ACE_Future<>::set() followed by ACE_Future<>::get(). Added + test for working ACE_Future::operator=(). The test is not + fool proof but it crashes or hangs the test process with the + old ACE_Future<> implementation. + Mon May 26 14:19:14 1997 James C Hu <jxh@polka.cs.wustl.edu> * ace/OS.{h,i}: Fixed difftime implementation for cases where diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp index d330b0a8eac..5d85bc14a8f 100644 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ b/netsvcs/lib/Server_Logging_Handler_T.cpp @@ -244,8 +244,7 @@ ACE_Thr_Server_Logging_Handler<LMR>::ACE_Thr_Server_Logging_Handler (ACE_Thread_ { } -template<class LMR> -int +template<class LMR> int ACE_Thr_Server_Logging_Handler<LMR>::open (void *) { // call base class open_common |