diff options
author | Steve Huston <shuston@riverace.com> | 1997-08-14 22:30:18 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-08-14 22:30:18 +0000 |
commit | 37682beab3899a70f50f772aec418f63bc1b2d73 (patch) | |
tree | db2d0e00448a391fb4f488764dbfb627e7fb079b | |
parent | 9581ca6fa72155b0b4f857764e1d30f060117f53 (diff) | |
download | ATCD-37682beab3899a70f50f772aec418f63bc1b2d73.tar.gz |
Include #define ACE_LACKS_CONST_STRBUF_PTR, remove ACE_HAS_POSIX_SEM,
fix comments to clarify usage of _CMA_NOWRAPPERS_
-rw-r--r-- | ace/config-hpux-10.x.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/ace/config-hpux-10.x.h b/ace/config-hpux-10.x.h index 4044f73d83a..1d8dc723ac5 100644 --- a/ace/config-hpux-10.x.h +++ b/ace/config-hpux-10.x.h @@ -115,6 +115,8 @@ extern int h_errno; /* This isn't declared in a header file on HP-UX */ #define ACE_HAS_STREAMS // Compiler/platform supports struct strbuf. #define ACE_HAS_STRBUF_T +// But the putmsg signature doesn't have it as const... +#define ACE_LACKS_CONST_STRBUF_PTR // Platform supports STREAM pipes // This is possible, but not by default - need to rebuild the kernel to @@ -151,7 +153,10 @@ extern int h_errno; /* This isn't declared in a header file on HP-UX */ # define ACE_HAS_THREADS # define ACE_HAS_DCETHREADS # define ACE_HAS_DCE_DRAFT4_THREADS -# define ACE_HAS_POSIX_SEM +// POSIX real-time semaphore definitions are in the header files, and it +// 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 // Platform has pthread_attr_delete instead of pthread_attr_destroy @@ -181,13 +186,11 @@ extern int h_errno; /* This isn't declared in a header file on HP-UX */ // Platform lacks pthread_attr_setstackaddr # define ACE_LACKS_THREAD_STACK_ADDR -// Platform uses int for select() rather than fd_set. -// HP's DCE threads redefine a bunch of system I/O calls to wrappered -// versions to avoid blocking the whole process when a call blocks. -// One of them is select(), and it only has the int* (not fd_set*) -// variety. So, until HP does kernel threads, switch to int select -// when building with threads. -//# define ACE_SELECT_USES_INT +// If this is not turned on, the CMA wrappers will redefine a bunch of +// system calls with wrappers - one being select() and it only defines +// select with int arguments (not fd_set). So, as long as _CMA_NOWRAPPERS_ +// is set, the regular fd_set arg types are used for select(). +// Without threads being compiled in, the fd_set/int thing is not an issue. # define _CMA_NOWRAPPERS_ // This is a def for this file only |