Changeset 1663 in Sophya for trunk/ArchTOIPipe/Kernel/toiprocessor.cc
- Timestamp:
- Oct 1, 2001, 4:01:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.cc
r1629 r1663 2 2 #include "toimanager.h" 3 3 #include <pthread.h> 4 5 #ifdef HAVE_VALUES_H 4 6 #include <values.h> 7 #endif 8 9 #ifndef MAXINT 10 #define MAXINT 2147483647 11 #endif 12 13 #ifdef HAVE_STDINT_H 14 #include <stdint.h> 15 #endif 5 16 6 17 #ifdef WITH_SOPHYA … … 88 99 89 100 int TOIProcessor::getMaxIn() { 90 int nIn = inIx.size();91 int maxIn = MAXINT;101 int_4 nIn = inIx.size(); 102 int_4 maxIn = MAXINT; 92 103 for (int i=0; i<nIn; i++) { 93 104 TOI* toi = inTOIs[i]; 94 105 if (toi == NULL) continue; // Protection - Reza 13/3/2001 95 int x = toi->getMaxSn();106 int_4 x = toi->getMaxSn(); 96 107 if (x < maxIn) maxIn = x; 97 108 }
Note:
See TracChangeset
for help on using the changeset viewer.