diff options
-rw-r--r-- | ace/config-aix-4.1.x.h | 6 | ||||
-rw-r--r-- | ace/config-aix-4.2.x.h | 22 | ||||
-rw-r--r-- | ace/config-fsu-pthread.h | 1 | ||||
-rw-r--r-- | ace/config-hpux-10.x.h | 4 | ||||
-rw-r--r-- | ace/config-hpux11.h | 4 | ||||
-rw-r--r-- | ace/config-irix6.x-common.h | 4 | ||||
-rw-r--r-- | ace/config-irix6.x-g++.h | 3 | ||||
-rw-r--r-- | ace/config-irix6.x-sgic++.h | 3 | ||||
-rw-r--r-- | ace/config-mit-pthread.h | 1 | ||||
-rw-r--r-- | ace/config-mvs.h | 2 | ||||
-rw-r--r-- | ace/config-osf1-3.2.h | 3 | ||||
-rw-r--r-- | ace/config-osf1-4.0.h | 2 | ||||
-rw-r--r-- | ace/config-sco-5.0.0-mit-pthread.h | 1 | ||||
-rw-r--r-- | ace/config-tandem.h | 7 |
14 files changed, 12 insertions, 51 deletions
diff --git a/ace/config-aix-4.1.x.h b/ace/config-aix-4.1.x.h index 0225ce9f88c..b35358dd169 100644 --- a/ace/config-aix-4.1.x.h +++ b/ace/config-aix-4.1.x.h @@ -21,7 +21,6 @@ #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R #define ACE_HAS_UNION_WAIT -#define ACE_HAS_TID_T // Optimize ACE_Handle_Set for select(). #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT @@ -34,7 +33,7 @@ #define ACE_LACKS_THREAD_PROCESS_SCOPING #define ACE_LACKS_THREAD_STACK_ADDR // If ACE doesn't compile due to the lack of these methods, please -// send email to schmidt@cs.wustl.edu reporting this. +// send email to schmidt@cs.wustl.edu reporting this. // #define ACE_LACKS_CONDATTR_PSHARED // #define ACE_LACKS_MUTEXATTR_PSHARED #define ACE_HAS_SIN_LEN @@ -54,7 +53,7 @@ #define ACE_HAS_SVR4_TIME #define ACE_HAS_THREADS #if !defined (ACE_MT_SAFE) - #define ACE_MT_SAFE 1 + #define ACE_MT_SAFE 1 #endif #define ACE_HAS_UTIME #define ACE_HAS_SELECT_H @@ -117,7 +116,6 @@ #define ACE_HAS_SIGTHREADMASK #define ACE_HAS_PTHREADS #define ACE_HAS_PTHREADS_DRAFT7 -#define ACE_HAS_PTHREAD_T #define ACE_LACKS_RWLOCK_T #define ACE_PTHREADS_MAP diff --git a/ace/config-aix-4.2.x.h b/ace/config-aix-4.2.x.h index f03b5a0554a..ffa64d07b04 100644 --- a/ace/config-aix-4.2.x.h +++ b/ace/config-aix-4.2.x.h @@ -42,7 +42,7 @@ #define ACE_HAS_IP_MULTICAST #define ACE_HAS_H_ERRNO #define ACE_HAS_SIN_LEN -#define ACE_HAS_SYSV_IPC +#define ACE_HAS_SYSV_IPC #define ACE_HAS_STRUCT_NETDB_DATA #define ACE_HAS_ALLOCA #define ACE_HAS_SYSV_IPC @@ -133,11 +133,11 @@ // Threads related definitions. // // The threads on AIX are generally POSIX P1003.1c (ACE_HAS_PTHREADS). -// However, there is also a kernel thread ID (tid_t) that is used in -// ACE_Log_Msg (printing the thread ID). The tid_t is not the same as -// pthread_t, and can't derive one from the other - thread_self() gets -// the tid_t (kernel thread ID) if called from a thread. -// Thanks very much to Chris Lahey for straightening this out. +// However, there is also a kernel thread ID (tid_t). The tid_t is +// not the same as pthread_t, and can't derive one from the other - +// thread_self() gets the tid_t (kernel thread ID) if called from a +// thread. Thanks very much to Chris Lahey for straightening this +// out. #define ACE_HAS_THREADS #if !defined (ACE_MT_SAFE) @@ -147,22 +147,18 @@ #define ACE_HAS_PTHREADS #define ACE_HAS_PTHREADS_DRAFT7 #define ACE_HAS_PTHREAD_EQUAL -#define ACE_HAS_PTHREAD_T #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS -#define ACE_HAS_REENTRANT_FUNCTIONS +#define ACE_HAS_REENTRANT_FUNCTIONS #define ACE_HAS_SIGTHREADMASK #define ACE_HAS_SIGWAIT #define ACE_HAS_THREAD_SPECIFIC_STORAGE -// tid_t is defined, but is used in the underlying thread API, not in the -// pthreads API. -#define ACE_HAS_TID_T // ACE_HAS_THREAD_SELF has been defined in the past... it is apparently not // needed. However, if someone comes across a need for it, here it is. //#define ACE_HAS_THREAD_SELF // If ACE doesn't compile due to the lack of these methods, please -// send email to schmidt@cs.wustl.edu reporting this. +// send email to schmidt@cs.wustl.edu reporting this. // #define ACE_LACKS_CONDATTR_PSHARED // #define ACE_LACKS_MUTEXATTR_PSHARED #define ACE_LACKS_RWLOCK_T @@ -175,7 +171,7 @@ #undef msg_control #define msg_accrights msg_control #endif /* msg_accrights */ - + #if !defined (msg_accrightslen) #undef msg_controllen #define msg_accrightslen msg_controllen diff --git a/ace/config-fsu-pthread.h b/ace/config-fsu-pthread.h index ead25856d82..2392efcd26a 100644 --- a/ace/config-fsu-pthread.h +++ b/ace/config-fsu-pthread.h @@ -19,7 +19,6 @@ #define ACE_HAS_PTHREADS_DRAFT6 #define ACE_HAS_FSU_PTHREADS #define ACE_HAS_THREAD_SPECIFIC_STORAGE -#define ACE_HAS_PTHREAD_T #define ACE_HAS_SIGWAIT #define ACE_HAS_PTHREAD_YIELD_VOID_PTR #define ACE_HAS_PTHREAD_ATTR_INIT diff --git a/ace/config-hpux-10.x.h b/ace/config-hpux-10.x.h index 1badf95918e..f6fac70104d 100644 --- a/ace/config-hpux-10.x.h +++ b/ace/config-hpux-10.x.h @@ -121,9 +121,6 @@ extern int h_errno; /* This isn't declared in a header file on HP-UX */ // Platform supports System V IPC (most versions of UNIX, but not Win32) #define ACE_HAS_SYSV_IPC -// Platform supports the tid_t type -#define ACE_HAS_TID_T - #define ACE_HAS_UALARM // Platform has XPG4 wide character support @@ -194,7 +191,6 @@ extern int h_errno; /* This isn't declared in a header file on HP-UX */ // will compile and link with this in place, but will not run. HP says // the functions are not implemented. //# define ACE_HAS_POSIX_SEM -# define ACE_HAS_PTHREAD_T # define ACE_HAS_PTHREAD_EQUAL # define ACE_HAS_THREAD_SPECIFIC_STORAGE diff --git a/ace/config-hpux11.h b/ace/config-hpux11.h index 7068b326d54..9b729f3f5f5 100644 --- a/ace/config-hpux11.h +++ b/ace/config-hpux11.h @@ -148,9 +148,6 @@ // accept() is thread-safe #define ACE_HAS_THREAD_SAFE_ACCEPT -// Platform supports the tid_t type -#define ACE_HAS_TID_T - // Platform has XPG4 wide character support #define ACE_HAS_XPG4_MULTIBYTE_CHAR @@ -226,7 +223,6 @@ # define ACE_HAS_PTHREADS # define ACE_HAS_PTHREADS_STD -# define ACE_HAS_PTHREAD_T # define ACE_HAS_PTHREAD_EQUAL # define ACE_HAS_THREAD_SPECIFIC_STORAGE diff --git a/ace/config-irix6.x-common.h b/ace/config-irix6.x-common.h index 34172f4b57c..666e35ee0a5 100644 --- a/ace/config-irix6.x-common.h +++ b/ace/config-irix6.x-common.h @@ -136,10 +136,6 @@ #define ACE_HAS_DIRENT #define ACE_LACKS_RWLOCK_T -// Platform supports the tid_t type (e.g., AIX and Irix 6.2) -#define ACE_HAS_TID_T - - // Turns off the tracing feature. #if !defined (ACE_NTRACE) #define ACE_NTRACE 1 diff --git a/ace/config-irix6.x-g++.h b/ace/config-irix6.x-g++.h index 3bfb96352c3..33b11c8ce3e 100644 --- a/ace/config-irix6.x-g++.h +++ b/ace/config-irix6.x-g++.h @@ -37,9 +37,6 @@ // Platform has pthread_equal(). #define ACE_HAS_PTHREAD_EQUAL -// Platform has pthread_t defined. -#define ACE_HAS_PTHREAD_T - // Compiler/platform has thread-specific storage #define ACE_HAS_THREAD_SPECIFIC_STORAGE diff --git a/ace/config-irix6.x-sgic++.h b/ace/config-irix6.x-sgic++.h index 3d19df33f3a..704310dabc3 100644 --- a/ace/config-irix6.x-sgic++.h +++ b/ace/config-irix6.x-sgic++.h @@ -39,9 +39,6 @@ // Platform has pthread_equal(). #define ACE_HAS_PTHREAD_EQUAL -// Platform has pthread_t defined. -#define ACE_HAS_PTHREAD_T - // Compiler/platform has thread-specific storage #define ACE_HAS_THREAD_SPECIFIC_STORAGE diff --git a/ace/config-mit-pthread.h b/ace/config-mit-pthread.h index 380d36632af..84c1a010bab 100644 --- a/ace/config-mit-pthread.h +++ b/ace/config-mit-pthread.h @@ -16,7 +16,6 @@ #define ACE_HAS_THREAD_SPECIFIC_STORAGE #define ACE_HAS_PTHREADS #define ACE_HAS_PTHREADS_STD -#define ACE_HAS_PTHREAD_T #define ACE_LACKS_PTHREAD_CANCEL #define ACE_HAS_PTHREAD_SIGMASK #define ACE_HAS_SIGWAIT diff --git a/ace/config-mvs.h b/ace/config-mvs.h index 09ca29adc5b..c18c4ab8ee7 100644 --- a/ace/config-mvs.h +++ b/ace/config-mvs.h @@ -52,7 +52,6 @@ #define ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP #define ACE_HAS_PTHREAD_EQUAL #define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP -#define ACE_HAS_PTHREAD_T #define ACE_HAS_SIGINFO_T #define ACE_HAS_SIGWAIT #define ACE_HAS_SIG_ATOMIC_T @@ -67,7 +66,6 @@ #define ACE_HAS_THREAD_SPECIFIC_STORAGE #define ACE_HAS_THR_C_DEST #define ACE_HAS_THR_C_FUNC -#define ACE_HAS_TID_T #define ACE_HAS_TIMEZONE_GETTIMEOFDAY #define ACE_HAS_UTIME #define ACE_HAS_VOIDPTR_MMAP diff --git a/ace/config-osf1-3.2.h b/ace/config-osf1-3.2.h index 9f77d0b38a1..b15338c70cb 100644 --- a/ace/config-osf1-3.2.h +++ b/ace/config-osf1-3.2.h @@ -37,8 +37,6 @@ // Platform supports <sys/procfs.h> #define ACE_HAS_PROC_FS -// Platform supports tid_t -#define ACE_HAS_TID_T #define ACE_HAS_UALARM // If ACE doesn't compile due to the lack of these methods, please @@ -55,7 +53,6 @@ // Platform has non-POSIX setkind and other functions. #define ACE_LACKS_PTHREAD_THR_SIGSETMASK #define ACE_HAS_SETKIND_NP -#define ACE_HAS_PTHREAD_T // Platform supports POSIX 1.b clock_gettime () #define ACE_HAS_CLOCK_GETTIME diff --git a/ace/config-osf1-4.0.h b/ace/config-osf1-4.0.h index a42b35cf622..e13c8af0700 100644 --- a/ace/config-osf1-4.0.h +++ b/ace/config-osf1-4.0.h @@ -98,10 +98,8 @@ # define ACE_HAS_GETPAGESIZE # define ACE_HAS_PROC_FS # define ACE_HAS_PTHREAD_EQUAL -# define ACE_HAS_PTHREAD_T # define ACE_HAS_SETKIND_NP # define ACE_HAS_THREAD_SELF -# define ACE_HAS_TID_T # define ACE_LACKS_CONST_TIMESPEC_PTR # define ACE_LACKS_GETPGID # define ACE_LACKS_PTHREAD_THR_SIGSETMASK diff --git a/ace/config-sco-5.0.0-mit-pthread.h b/ace/config-sco-5.0.0-mit-pthread.h index 55b041bd446..dbcc5373bc3 100644 --- a/ace/config-sco-5.0.0-mit-pthread.h +++ b/ace/config-sco-5.0.0-mit-pthread.h @@ -142,7 +142,6 @@ #define ACE_HAS_THREAD_SPECIFIC_STORAGE #define ACE_HAS_PTHREADS #define ACE_HAS_PTHREADS_STD -#define ACE_HAS_PTHREAD_T #define ACE_LACKS_PTHREAD_CANCEL #define ACE_HAS_PTHREAD_SIGMASK #define ACE_HAS_SIGWAIT diff --git a/ace/config-tandem.h b/ace/config-tandem.h index 03f7b6fedfb..c434748ad4e 100644 --- a/ace/config-tandem.h +++ b/ace/config-tandem.h @@ -87,9 +87,7 @@ //Platform supports the SVR4 timestruc_t type #define ACE_HAS_SVR4_TIME -//ACE_HAS_PROC_FS Platform supports the /proc file -// system and defines tid_t in <sys/procfs.h> -// Has /proc but no tid_t +//ACE_HAS_PROC_FS Platform supports the /proc file system //ACE_HAS_PRUSAGE_T Platform supports the prusage_t struct @@ -203,7 +201,6 @@ //ACE_HAS_PTHREAD_EQUAL Platform has pthread_equal(). //ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP Platform has // pthread_mutexattr_setkind_np(). -//ACE_HAS_PTHREAD_T Platform has pthread_t defined. //ACE_HAS_THREAD_SELF Platform has thread_self() rather // than pthread_self() (e.g., DCETHREADS and AIX) //ACE_HAS_THR_C_DEST The pthread_keycreate() routine * @@ -346,8 +343,6 @@ //ACE_HAS_TEMPLATE_TYPEDEFS Compiler implements templates that // support typedefs inside of classes used as formal arguments to a template // class. -//ACE_HAS_TID_T Platform supports the tid_t type -//(e.g., AIX) //Platform/compiler supports timezone * as second parameter to gettimeofday() //#define ACE_HAS_TIMEZONE_GETTIMEOFDAY According to man we have but not //when compiling |