diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1997-04-25 22:20:58 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1997-04-25 22:20:58 +0000 |
commit | 0ade236d792b248800b2aeefc274e26512ccdfe7 (patch) | |
tree | 2948c0501fed3b4ff1860cf8a64f1a3688125286 /ace/OS.cpp | |
parent | e2aadbc6847f41a51791a88f6991c7eaf2999b7f (diff) | |
download | ATCD-0ade236d792b248800b2aeefc274e26512ccdfe7.tar.gz |
* ace/OS.cpp (thr_create): Fixed the fix from Thilo so that it
compiled properly on Linux. Hopefully I didn't break his, and I
should have detected the problem earlier. Mea culpa.
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 4381a2dc14d..c5bd1ba945f 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -1453,7 +1453,8 @@ ACE_OS::thr_create (ACE_THR_FUNC func, # if defined (ACE_HAS_DCETHREADS) && !defined (ACE_HAS_SETKIND_NP) sparam.sched_priority = ACE_MIN (priority, PRIORITY_MAX); -# elif defined(ACE_HAS_IRIX62_THREADS) +# elif defined(ACE_HAS_IRIX62_THREADS) || defined(ACE_HAS_PTHREADS_1003_DOT_1C) + // Should trigger for IRIX, DEC UNIX, and Linux w/LinuxThreads 0.5 sparam.sched_priority = ACE_MIN (priority, PTHREAD_MAX_PRIORITY); # elif defined (PTHREAD_MAX_PRIORITY) /* For MIT pthreads... */ sparam.prio = ACE_MIN (priority, PTHREAD_MAX_PRIORITY); |