summaryrefslogtreecommitdiff
path: root/ACE/ace/config-mit-pthread.h
blob: afaf665c383030a4977c1e6cee9de0c8e602b18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// $Id$

#ifndef ACE_CONFIG_MIT_PTHREAD_H
#define ACE_CONFIG_MIT_PTHREAD_H
#include /**/ "ace/pre.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_PTHREADS_STD
#define ACE_LACKS_PTHREAD_CANCEL
#define ACE_HAS_SIGWAIT
#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.
// #define ACE_LACKS_CONDATTR_PSHARED
// #define ACE_LACKS_MUTEXATTR_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

#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_MIT_PTHREAD_H */