diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1997-02-17 15:47:13 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1997-02-17 15:47:13 +0000 |
commit | 1150bf09ad72f6be0f1aa07c0c1f889783a58f07 (patch) | |
tree | b4694421f48ca03ce32007dcefb486130de3c2df /ace/config-linux-lxpthreads.h | |
parent | d12b59c3765f0f0729fea64abeaa5e02e86d6ab2 (diff) | |
download | ATCD-1150bf09ad72f6be0f1aa07c0c1f889783a58f07.tar.gz |
Added some threading stuff for Linux.
Diffstat (limited to 'ace/config-linux-lxpthreads.h')
-rw-r--r-- | ace/config-linux-lxpthreads.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/config-linux-lxpthreads.h b/ace/config-linux-lxpthreads.h index 17b7f790c5e..cde763730dd 100644 --- a/ace/config-linux-lxpthreads.h +++ b/ace/config-linux-lxpthreads.h @@ -88,7 +88,7 @@ #define ACE_PAGE_SIZE 4096 #define ACE_HAS_SUNOS4_GETTIMEOFDAY -#define LINUX 2.0.25 +#define LINUX 2.0.27 // Turns off the tracing feature. #if !defined (ACE_NTRACE) @@ -117,14 +117,18 @@ // And they're even POSIX pthreads (MIT implementation) #define ACE_HAS_PTHREADS +#define ACE_HAS_PTHREADS_XAVIER // JCEJ 12/19/96 + #define ACE_MT_SAFE // JCEJ 12/22/96 #1 #define ACE_HAS_THREAD_SPECIFIC_STORAGE // jcej 12/22/96 #2 #define PTHREAD_MIN_PRIORITY 0 // JCEJ 12/22/96 #3 -#define PTHREAD_MAX_PRIORITY 32 // JCEJ 12/22/96 #3 +#if defined(ACE_HAS_PTHREADS_XAVIER) +# define PTHREAD_MAX_PRIORITY 99 // CJC 02/11/97 +#else +# define PTHREAD_MAX_PRIORITY 32 // JCEJ 12/22/96 #3 +#endif #define ACE_HAS_PTHREADS_1003_DOT_1C // JCEJ 12/22/96 #4 -#define ACE_HAS_PTHREADS_XAVIER // JCEJ 12/19/96 - #define ACE_LACKS_THREAD_STACK_ADDR // JCEJ 12/17/96 #define ACE_LACKS_THREAD_STACK_SIZE // JCEJ 12/17/96 |