summaryrefslogtreecommitdiff
path: root/ace/config-sco-5.0.0-fsu-pthread.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-08 18:35:45 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-08 18:35:45 +0000
commitaa9ee9df8307f65a53f4a51b2aca88ead8539232 (patch)
tree2d071e4c10b46b01fcf370eda3a4e296b1355994 /ace/config-sco-5.0.0-fsu-pthread.h
parent8f7969b5e13a9b9c457e98c05d353bd8a2922850 (diff)
downloadATCD-aa9ee9df8307f65a53f4a51b2aca88ead8539232.tar.gz
foo
Diffstat (limited to 'ace/config-sco-5.0.0-fsu-pthread.h')
-rw-r--r--ace/config-sco-5.0.0-fsu-pthread.h130
1 files changed, 130 insertions, 0 deletions
diff --git a/ace/config-sco-5.0.0-fsu-pthread.h b/ace/config-sco-5.0.0-fsu-pthread.h
new file mode 100644
index 00000000000..f1960ae451b
--- /dev/null
+++ b/ace/config-sco-5.0.0-fsu-pthread.h
@@ -0,0 +1,130 @@
+// The following configuration file is designed to work for SCO UNIX
+// 5.0 with Florida State pthreads.
+
+#if !defined (ACE_CONFIG_H)
+#define ACE_CONFIG_H
+
+// Compiling for SCO.
+#if !defined (SCO)
+#define SCO
+#endif /* SCO */
+
+#if defined (SCO) && !defined (MAXPATHLEN)
+#define MAXPATHLEN 1023
+#endif /* SCO */
+
+#define ACE_TEMPLATES_REQUIRE_SOURCE
+#define ACE_TEMPLATES_REQUIRE_SPECIALIZATION
+#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
+
+#define ACE_LACKS_SYSCALL
+#define ACE_LACKS_STRRECVFD
+#define ACE_NEEDS_FTRUNCATE
+#define ACE_LACKS_RLIMIT
+#define ACE_LACKS_MADVISE
+
+// Compiler doesn't support static data member templates.
+//#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
+
+// Platform supports System V IPC (most versions of UNIX, but not Win32)
+#define ACE_HAS_SYSV_IPC
+
+// Platform supports recvmsg and sendmsg.
+//#define ACE_HAS_MSG
+
+// Compiler/platform contains the <sys/syscall.h> file.
+//#define ACE_HAS_SYSCALL_H
+
+// Fixes a problem with HP/UX not wrapping the mmap(2) header files
+// with extern "C".
+//#define ACE_HAS_BROKEN_MMAP_H
+
+// Prototypes for both signal() and struct sigaction are consistent.
+#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
+
+// Compiler/platform has correctly prototyped header files.
+#define ACE_HAS_CPLUSPLUS_HEADERS
+
+// Header files lack t_errno for ACE_TLI.
+//#define ACE_LACKS_T_ERRNO
+
+// Compiler/platform supports poll().
+#define ACE_HAS_POLL
+
+// Platform supports POSIX O_NONBLOCK semantics.
+#define ACE_HAS_POSIX_NONBLOCK
+
+// Compiler/platform defines the sig_atomic_t typedef
+#define ACE_HAS_SIG_ATOMIC_T
+
+// Compiler supports the ssize_t typedef.
+//#define ACE_HAS_SSIZE_T
+
+// Defines the page size of the system.
+#define ACE_PAGE_SIZE 4096
+
+// Compiler/platform supports strerror ().
+#define ACE_HAS_STRERROR
+
+// ???
+#define ACE_HAS_SUNOS4_GETTIMEOFDAY
+
+// HP/UX has an undefined syscall for GETRUSAGE...
+//#define ACE_HAS_SYSCALL_GETRUSAGE
+
+// Note, this only works if the flag is set above!
+//#define ACE_HAS_GETRUSAGE
+
+// Platform uses int for select() rather than fd_set.
+#define ACE_HAS_SELECT_H
+
+// Platform has prototypes for ACE_TLI.
+//#define ACE_HAS_TLI_PROTOTYPES
+// Platform has the XLI version of ACE_TLI.
+// #define ACE_HAS_XLI
+
+#define ACE_HAS_GNU_CSTRING_H
+
+// Turns off the tracing feature.
+#if !defined (ACE_NTRACE)
+#define ACE_NTRACE 1
+#endif /* ACE_NTRACE */
+
+#define ACE_HAS_SIGINFO_T
+#define ACE_HAS_UCONTEXT_T
+
+#define ACE_NEEDS_SYSTIME_H
+#define ACE_HAS_INLINED_OSCALLS
+
+// Threads
+#define ACE_HAS_THREADS
+#define ACE_HAS_PTHREADS
+#define ACE_HAS_FSU_PTHREADS
+#define ACE_HAS_PTHREAD_T
+#define ACE_HAS_SIGWAIT
+#define ACE_HAS_ONEARG_SIGWAIT
+#define ACE_HAS_PTHREAD_YIELD_VOID_PTR
+#define ACE_HAS_YIELD_VOID_PTR
+#define ACE_HAS_PTHREAD_ATTR_INIT
+#define ACE_HAS_PTHREAD_ATTR_DESTROY
+#define ACE_HAS_PTHREAD_DSTATE_PTR
+#define ACE_HAS_PTHREAD_EQUAL
+#define ACE_HAS_PTHREAD_GETSPECIFIC_DATAPTR
+#define ACE_LACKS_THREAD_STACK_ADDR
+#define ACE_LACKS_CONDATTR_PSHARED
+
+#define ACE_HAS_POSIX_TIME
+
+#define PTHREAD_STACK_MIN 1024
+
+#include <pthread.h>
+
+#undef PTHREAD_INHERIT_SCHED
+
+struct sched_param
+{
+ int sched_priority;
+ int prio;
+};
+
+#endif /* ACE_CONFIG_H */