Changeset b14855 in git
- Timestamp:
- Mar 11, 2011, 1:38:28 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 6f83ae275d45dbae3bcb20755554e9f50fe75f22
- Parents:
- 240d6e0f71a7c78b7ad7e858be185c519c48c85f
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r240d6e rb14855 3237 3237 WerrorS("negative timeout"); return TRUE; 3238 3238 } 3239 int t = 1000*getRTimer()/TIMER_RESOLUTION;3239 int t = getRTimer()/TIMER_RESOLUTION; // in seconds 3240 3240 int i; 3241 3241 int ret = -1; … … 3249 3249 Lforks->m[i-1].rtyp=DEF_CMD; 3250 3250 Lforks->m[i-1].data=NULL; 3251 timeout = si_max(0,timeout - 1000* getRTimer()/TIMER_RESOLUTION + t);3251 timeout = si_max(0,timeout - 1000*(getRTimer()/TIMER_RESOLUTION - t)); 3252 3252 } 3253 3253 else /* terminate the for loop */ -
Singular/ssiLink.cc
r240d6e rb14855 35 35 #include <kernel/intvec.h> 36 36 #include <kernel/options.h> 37 #include <kernel/timer.h> 37 38 #include <Singular/subexpr.h> 38 39 #include <Singular/silink.h>
Note: See TracChangeset
for help on using the changeset viewer.