diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-19 23:54:59 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-19 23:54:59 +0000 |
commit | 5a8d81d7ff90ecfb7a7843b04c4f9a98d8dd5288 (patch) | |
tree | bd812259d5c834d7ddbced2e2b862b4ac1d6889d /ace/config-mit-pthread.h | |
parent | cd74a82c88f64ee8d29af4a018f353585f50cd7c (diff) | |
download | ATCD-5a8d81d7ff90ecfb7a7843b04c4f9a98d8dd5288.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/config-mit-pthread.h')
-rw-r--r-- | ace/config-mit-pthread.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ace/config-mit-pthread.h b/ace/config-mit-pthread.h new file mode 100644 index 00000000000..a3f3a975801 --- /dev/null +++ b/ace/config-mit-pthread.h @@ -0,0 +1,52 @@ +#if !defined (ACE_CONFIG_MIT_PTHREAD_H) +#define ACE_CONFIG_MIT_PTHREAD_H + +// Platform uses int for select() rather than fd_set. +#if !defined(ACE_HAS_SELECT_H) +#define ACE_HAS_SELECT_H +#endif + +// Threads +#define ACE_HAS_THREADS +#if !defined (ACE_MT_SAFE) + #define ACE_MT_SAFE 1 +#endif +#define ACE_HAS_THREAD_SPECIFIC_STORAGE +#define ACE_HAS_PTHREADS +#define ACE_HAS_PTHREAD_T +#define ACE_LACKS_PTHREAD_CANCEL +#define ACE_HAS_PTHREAD_SIGMASK +#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_PROCESS_SCOPING +//#define ACE_LACKS_THREAD_STACK_ADDR +//#define ACE_LACKS_KEYDELETE +#define ACE_LACKS_CONDATTR_PSHARED +#define ACE_LACKS_RWLOCK_T +#define ACE_LACKS_SETSCHED + +#include <pthread.h> +#if defined(_M_UNIX) +#include <sys/regset.h> +#endif + +#define ACE_LACKS_TIMEDWAIT_PROTOTYPES +#define ACE_HAS_RECV_TIMEDWAIT +#define ACE_HAS_RECVFROM_TIMEDWAIT +#define ACE_HAS_RECVMSG_TIMEDWAIT +#define ACE_HAS_SEND_TIMEDWAIT +#define ACE_HAS_SENDTO_TIMEDWAIT +#define ACE_HAS_SENDMSG_TIMEDWAIT +#define ACE_HAS_READ_TIMEDWAIT +#define ACE_HAS_READV_TIMEDWAIT +#define ACE_HAS_WRITE_TIMEDWAIT +#define ACE_HAS_WRITEV_TIMEDWAIT + +#endif /* ACE_CONFIG_MIT_PTHREAD_H */ |