blob: e3ae0bd34a502925ee08d2ca3b01223d9843c190 (
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
|
/* -*- C++ -*- */
// $Id$
// The following configuration file is designed to work for Linux
// platforms using GNU C++ and the MIT threads package.
#if !defined (ACE_CONFIG_H)
#define ACE_CONFIG_H
#include "ace/config-linux-common.h"
#define ACE_HAS_THREAD_SPECIFIC_STORAGE
#if !defined (ACE_MT_SAFE)
# define ACE_MT_SAFE 1
#endif
// And they're even POSIX pthreads (MIT implementation)
#define ACE_HAS_PTHREADS
#define ACE_LACKS_RWLOCK_T
#define ACE_HAS_SIGWAIT
#define ACE_LACKS_CONDATTR_PSHARED
// To use pthreads on Linux you'll need to use the MIT version, for
// now...
#define _MIT_POSIX_THREADS 1
#include /**/ <pthread/mit/pthread.h>
#endif /* ACE_CONFIG_H */
|