diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-04 21:47:21 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-04 21:47:21 +0000 |
commit | 02aeecedcb7d9065a99a45076e85aaea8229e1ca (patch) | |
tree | 770b7b865e6cdc799eff1fbcfd7e77e2cbda68fa | |
parent | c2ad7e5a7e463476deed3a295cdcb0410a953d57 (diff) | |
download | ATCD-02aeecedcb7d9065a99a45076e85aaea8229e1ca.tar.gz |
*** empty log message ***
33 files changed, 15 insertions, 104 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b index c99ed732852..a0fe33ecf3a 100644 --- a/ChangeLog-98b +++ b/ChangeLog-98b @@ -1,25 +1,14 @@ -Fri Sep 04 15:24:44 1998 Nanbor Wang <nanbor@cs.wustl.edu> - - * ace/ACE.i: Here, we should use ASYS_INLINE which is always - defined as inline on most platforms. +Fri Sep 4 16:45:36 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> -Fri Sep 4 14:16:39 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + * ace: Removed all traces of ACE_HAS_MT_SAFE_SOCKETS -- this was a + vestige from Solaris 2.2! Thanks to Ossama Othman + <othman@astrosun.tn.cornell.edu> for suggesting this. * ace/Service_Config: Changed the default value of ACE_Service_Config::debug_ from 1 to 0. Thus, debugging is DISABLED by default. If you want to enable debugging, pass the -d option to the constructor of ACE_Service_Config. -Fri Sep 04 13:56:44 1998 Nanbor Wang <nanbor@cs.wustl.edu> - - * ace/Log_Msg.h (ACE_Log_Msg): Added a new ACE_DEBUG format - character 'A' which prints out an ACE_timer_t value. This is - most useful when you want to print out the timers in - ACE_Profile_Timer::ACE_Elapse_Time. Thanks to Naga for - providing the brilliant idea. - -Fri Sep 4 13:53:42 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> - * ace/Naming_Context.cpp, ace/Service_Config.cpp, ace/Service_Types.cpp, @@ -31,8 +20,17 @@ Fri Sep 4 13:53:42 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> * ace/Service_Config: Moved the debug() stuff from here and put it into class ACE so that it will be more globally visible. -Fri Sep 04 11:56:44 1998 Nanbor Wang <nanbor@cs.wustl.edu> +Fri Sep 04 15:24:44 1998 Nanbor Wang <nanbor@cs.wustl.edu> + + * ace/ACE.i: Here, we should use ASYS_INLINE which is always + defined as inline on most platforms. + * ace/Log_Msg.h (ACE_Log_Msg): Added a new ACE_DEBUG format + character 'A' which prints out an ACE_timer_t value. This is + most useful when you want to print out the timers in + ACE_Profile_Timer::ACE_Elapse_Time. Thanks to Naga for + providing the brilliant idea. + * tests/XtReactor_Test.cpp (main): Removed '.cpp' from ACE_START_TEST title string. Thanks to Ossama for reporting this. @@ -174,7 +172,7 @@ Wed Sep 02 16:31:22 1998 Nanbor Wang <nanbor@cs.wustl.edu> * ace/OS.h: Make sure ACE_NO_INLINE is not defined before defining it to avoid double defining the macro. Thanks to Ossama Othman - <othman@astrosun.tn.cornell.edu> for suggestion this. + <othman@astrosun.tn.cornell.edu> for suggesting this. Wed Sep 2 11:10:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> diff --git a/ace/README b/ace/README index 61a36955353..96816ac0466 100644 --- a/ace/README +++ b/ace/README @@ -105,7 +105,6 @@ ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION Avoid #including ace/streams.h in OS.h. ACE_HAS_MFC Platform supports Microsoft Foundation Classes ACE_HAS_MSG Platform supports recvmsg and sendmsg ACE_HAS_MT_SAFE_MKTIME Platform supports MT safe mktime() call (do any of them?) -ACE_HAS_MT_SAFE_SOCKETS Sockets may be called in multi-threaded programs ACE_HAS_NONCONST_GETBY Platform uses non-const char * in calls to gethostbyaddr, gethostbyname, getservbyname ACE_HAS_NONCONST_MSGSND Platform has a non-const parameter to msgsend() (e.g., SCO). ACE_HAS_NONCONST_SELECT_TIMEVAL Platform's select() uses non-const timeval* (only found on Linux right now) diff --git a/ace/config-aix-3.2.5.h b/ace/config-aix-3.2.5.h index 40b1450281b..9090292445f 100644 --- a/ace/config-aix-3.2.5.h +++ b/ace/config-aix-3.2.5.h @@ -28,9 +28,6 @@ // Compiler/platform has the getrusage() system call. #define ACE_HAS_GETRUSAGE -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Compiler/platform uses old malloc()/free() prototypes (ugh). #define ACE_HAS_OLD_MALLOC diff --git a/ace/config-dgux-4.11-epc.h b/ace/config-dgux-4.11-epc.h index 445cd81f3f3..c208d1e1af6 100644 --- a/ace/config-dgux-4.11-epc.h +++ b/ace/config-dgux-4.11-epc.h @@ -58,9 +58,6 @@ // Compiler/platform has <alloca.h> // #define ACE_HAS_ALLOCA_H -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-dgux-4.x-ghs.h b/ace/config-dgux-4.x-ghs.h index 0d20255b371..2e1fb09adfe 100644 --- a/ace/config-dgux-4.x-ghs.h +++ b/ace/config-dgux-4.x-ghs.h @@ -58,9 +58,6 @@ // Green Hills doesn't give a preprocessor symbol for long double #define ACE_SIZEOF_LONG_DOUBLE 8 -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-freebsd-pthread.h b/ace/config-freebsd-pthread.h index 5ffb0de3e7e..1eb85624d4d 100644 --- a/ace/config-freebsd-pthread.h +++ b/ace/config-freebsd-pthread.h @@ -96,11 +96,6 @@ char * cuserid (char *s); // platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// ***** NOT SURE YET ***** However, this doesn't seem to be -// used any where, so I just put it in. ;0 -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Compiler/platform has <alloca.h> //#define ACE_HAS_ALLOCA_H diff --git a/ace/config-freebsd.h b/ace/config-freebsd.h index 339972983a6..f751d98a628 100644 --- a/ace/config-freebsd.h +++ b/ace/config-freebsd.h @@ -115,11 +115,6 @@ ange */ // platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// ***** NOT SURE YET ***** However, this doesn't seem to be -// used any where, so I just put it in. ;0 -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Compiler/platform has <alloca.h> //#define ACE_HAS_ALLOCA_H diff --git a/ace/config-irix6.x-sgic++-nothreads.h b/ace/config-irix6.x-sgic++-nothreads.h index 8dc0421c09b..b309ecdb419 100644 --- a/ace/config-irix6.x-sgic++-nothreads.h +++ b/ace/config-irix6.x-sgic++-nothreads.h @@ -77,9 +77,6 @@ // getservbyname_r). #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -//Sockets may be called in multi-threaded programs -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform supports the tid_t type (e.g., AIX and Irix 6.2) #define ACE_HAS_TID_T diff --git a/ace/config-linux-lxpthreads.h b/ace/config-linux-lxpthreads.h index 207056b6320..14a4620e2df 100644 --- a/ace/config-linux-lxpthreads.h +++ b/ace/config-linux-lxpthreads.h @@ -67,8 +67,6 @@ #define ACE_HAS_REENTRANT_FUNCTIONS // getprotobyname_r have a different signature! #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -//Sockets may be called in multi-threaded programs -#define ACE_HAS_MT_SAFE_SOCKETS // uses ctime_r & asctime_r with only two parameters vs. three #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R #endif diff --git a/ace/config-lynxos.h b/ace/config-lynxos.h index 69dff4f022e..525f1e469e6 100644 --- a/ace/config-lynxos.h +++ b/ace/config-lynxos.h @@ -80,9 +80,6 @@ // Platform has union semun defined #define ACE_HAS_SEMUN -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL #define ACE_POLL_IS_BROKEN diff --git a/ace/config-m88k.h b/ace/config-m88k.h index b95f529ce33..9f8ca70f6a0 100644 --- a/ace/config-m88k.h +++ b/ace/config-m88k.h @@ -118,9 +118,6 @@ struct ip_mreq #define ACE_HAS_ALLOCA_H #endif /* m88k */ -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-netbsd.h b/ace/config-netbsd.h index 31baf0c46bf..e53403ea0d7 100644 --- a/ace/config-netbsd.h +++ b/ace/config-netbsd.h @@ -118,11 +118,6 @@ ange */ // platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// ***** NOT SURE YET ***** However, this doesn't seem to be -// used any where, so I just put it in. ;0 -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Compiler/platform has <alloca.h> //#define ACE_HAS_ALLOCA_H diff --git a/ace/config-osf1-3.2.h b/ace/config-osf1-3.2.h index b8d1bc18530..8e0691969b0 100644 --- a/ace/config-osf1-3.2.h +++ b/ace/config-osf1-3.2.h @@ -102,9 +102,6 @@ // Platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-osf1-4.0.h b/ace/config-osf1-4.0.h index 693c9390d4c..cd7f2f45641 100644 --- a/ace/config-osf1-4.0.h +++ b/ace/config-osf1-4.0.h @@ -127,7 +127,6 @@ #define ACE_HAS_IP_MULTICAST #define ACE_HAS_LONG_MAP_FAILED #define ACE_HAS_MSG -#define ACE_HAS_MT_SAFE_SOCKETS #define ACE_HAS_OSF1_GETTIMEOFDAY #define ACE_HAS_OSF_TIMOD_H #define ACE_HAS_POLL diff --git a/ace/config-psos-diab.h b/ace/config-psos-diab.h index 40a22853ffd..0d732d8a918 100644 --- a/ace/config-psos-diab.h +++ b/ace/config-psos-diab.h @@ -82,8 +82,6 @@ #define ACE_DEFAULT_THREAD_KEYS 256 -#define ACE_HAS_MT_SAFE_SOCKETS - #define ACE_LACKS_COND_T // #define ACE_HAS_TSS_EMULATION diff --git a/ace/config-psos-tm.h b/ace/config-psos-tm.h index 0825debf8f0..26e2efd7a76 100644 --- a/ace/config-psos-tm.h +++ b/ace/config-psos-tm.h @@ -79,8 +79,6 @@ #define ACE_DEFAULT_THREAD_KEYS 256 -#define ACE_HAS_MT_SAFE_SOCKETS - #define ACE_LACKS_COND_T // #define ACE_HAS_TSS_EMULATION diff --git a/ace/config-psosim-g++.h b/ace/config-psosim-g++.h index 075e650eabc..2e29e22a647 100644 --- a/ace/config-psosim-g++.h +++ b/ace/config-psosim-g++.h @@ -96,8 +96,6 @@ #define ACE_DEFAULT_THREAD_KEYS 256 -#define ACE_HAS_MT_SAFE_SOCKETS - #define ACE_LACKS_COND_T diff --git a/ace/config-sunos4-g++.h b/ace/config-sunos4-g++.h index 872ef8ee752..5385cb03d0c 100644 --- a/ace/config-sunos4-g++.h +++ b/ace/config-sunos4-g++.h @@ -41,9 +41,6 @@ // #define ACE_HAS_STRERROR #define ACE_HAS_SYS_ERRLIST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos4-lucid3.2.h b/ace/config-sunos4-lucid3.2.h index 50b500e49ee..b934bdfd3fc 100644 --- a/ace/config-sunos4-lucid3.2.h +++ b/ace/config-sunos4-lucid3.2.h @@ -36,9 +36,6 @@ // Compiler/platform has the getrusage() system call. #define ACE_HAS_GETRUSAGE -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos4-sun3.x.h b/ace/config-sunos4-sun3.x.h index bcdc2fe49a0..7fa7de39d45 100644 --- a/ace/config-sunos4-sun3.x.h +++ b/ace/config-sunos4-sun3.x.h @@ -31,9 +31,6 @@ // Compiler/platform has the getrusage() system call. #define ACE_HAS_GETRUSAGE -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos4-sun4.1.4.h b/ace/config-sunos4-sun4.1.4.h index 63586d044cc..4b9d855ed4b 100644 --- a/ace/config-sunos4-sun4.1.4.h +++ b/ace/config-sunos4-sun4.1.4.h @@ -35,9 +35,6 @@ // #define ACE_HAS_STRERROR #define ACE_HAS_SYS_ERRLIST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos4-sun4.x-orbix.h b/ace/config-sunos4-sun4.x-orbix.h index 093eeba713b..39ec76243b8 100644 --- a/ace/config-sunos4-sun4.x-orbix.h +++ b/ace/config-sunos4-sun4.x-orbix.h @@ -36,9 +36,6 @@ // #define ACE_HAS_STRERROR #define ACE_HAS_SYS_ERRLIST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos4-sun4.x.h b/ace/config-sunos4-sun4.x.h index 2610b164949..dc0e18c8ab9 100644 --- a/ace/config-sunos4-sun4.x.h +++ b/ace/config-sunos4-sun4.x.h @@ -33,9 +33,6 @@ // #define ACE_HAS_STRERROR #define ACE_HAS_SYS_ERRLIST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Header files lack t_errno for ACE_TLI. // #define ACE_LACKS_T_ERRNO diff --git a/ace/config-sunos5.4-centerline-2.x.h b/ace/config-sunos5.4-centerline-2.x.h index 6ed08478660..9677dab602a 100644 --- a/ace/config-sunos5.4-centerline-2.x.h +++ b/ace/config-sunos5.4-centerline-2.x.h @@ -56,9 +56,6 @@ // Platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-sunos5.4-g++.h b/ace/config-sunos5.4-g++.h index 2b36430d368..e5abceacd6a 100644 --- a/ace/config-sunos5.4-g++.h +++ b/ace/config-sunos5.4-g++.h @@ -68,9 +68,6 @@ // Compiler/platform has <alloca.h> #define ACE_HAS_ALLOCA_H -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-sunos5.4-sunc++-4.x-orbix.h b/ace/config-sunos5.4-sunc++-4.x-orbix.h index 16560561902..ab0eb694715 100644 --- a/ace/config-sunos5.4-sunc++-4.x-orbix.h +++ b/ace/config-sunos5.4-sunc++-4.x-orbix.h @@ -66,9 +66,6 @@ // Compiler/platform has <alloca.h> #define ACE_HAS_ALLOCA_H -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains the Orbix CORBA implementation. #define ACE_HAS_ORBIX 1 diff --git a/ace/config-sunos5.4-sunc++-4.x.h b/ace/config-sunos5.4-sunc++-4.x.h index bb4863a9560..c5c1cdb1db6 100644 --- a/ace/config-sunos5.4-sunc++-4.x.h +++ b/ace/config-sunos5.4-sunc++-4.x.h @@ -66,9 +66,6 @@ // Compiler/platform has <alloca.h> #define ACE_HAS_ALLOCA_H -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-sunos5.5.h b/ace/config-sunos5.5.h index 1d357398f24..4e60afca0ce 100644 --- a/ace/config-sunos5.5.h +++ b/ace/config-sunos5.5.h @@ -122,9 +122,6 @@ // Compiler/platform has <alloca.h> #define ACE_HAS_ALLOCA_H -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. #define ACE_HAS_POLL diff --git a/ace/config-tandem.h b/ace/config-tandem.h index d0b41832741..2f11000c353 100644 --- a/ace/config-tandem.h +++ b/ace/config-tandem.h @@ -186,8 +186,6 @@ #define ACE_LACKS_PRI_T // Tandem lacks pri_t #define ACE_HAS_THR_KEYDELETE -#define ACE_HAS_MT_SAFE_SOCKETS // Sockets may be called in multi-threaded programs - //ACE_HAS_REENTRANT_FUNCTIONS Platform supports reentrant // functions (i.e., all the POSIX *_r functions). //ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS Platform will recurse infinitely on diff --git a/ace/config-unixware-2.01-g++.h b/ace/config-unixware-2.01-g++.h index 54ecaedc11b..366fb64f38a 100644 --- a/ace/config-unixware-2.01-g++.h +++ b/ace/config-unixware-2.01-g++.h @@ -29,7 +29,6 @@ #define ACE_HAS_MSG #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R // Not yet sure about threads -#define ACE_HAS_MT_SAFE_SOCKETS #define ACE_HAS_NONCONST_GETBY #define ACE_HAS_OSF1_GETTIMEOFDAY #define ACE_HAS_POLL diff --git a/ace/config-unixware-2.1.2-g++.h b/ace/config-unixware-2.1.2-g++.h index d5f1c6c29cd..50dd6f8193b 100644 --- a/ace/config-unixware-2.1.2-g++.h +++ b/ace/config-unixware-2.1.2-g++.h @@ -31,7 +31,6 @@ #define ACE_HAS_MSG #define ACE_HAS_SVR4_GETTIMEOFDAY #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R -#define ACE_HAS_MT_SAFE_SOCKETS #define ACE_HAS_NONCONST_GETBY #define ACE_HAS_POLL #define ACE_HAS_POSIX_NONBLOCK diff --git a/ace/config-vxworks5.x.h b/ace/config-vxworks5.x.h index 49ab4b4b57f..cd2f32753bc 100644 --- a/ace/config-vxworks5.x.h +++ b/ace/config-vxworks5.x.h @@ -74,7 +74,6 @@ #define ACE_HAS_CPLUSPLUS_HEADERS #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT #define ACE_HAS_MSG -#define ACE_HAS_MT_SAFE_SOCKETS #define ACE_HAS_NONSTATIC_OBJECT_MANAGER #define ACE_HAS_POSIX_NONBLOCK #define ACE_HAS_POSIX_TIME diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h index c274c32f69c..1f99f86312c 100644 --- a/ace/config-win32-common.h +++ b/ace/config-win32-common.h @@ -76,9 +76,6 @@ typedef unsigned __int64 ACE_UINT64; // Platform supports IP multicast #define ACE_HAS_IP_MULTICAST -// Sockets may be called in multi-threaded programs. -#define ACE_HAS_MT_SAFE_SOCKETS - // Platform contains <poll.h>. //define ACE_HAS_POLL |