Changeset ea57e3 in git
- Timestamp:
- Mar 8, 2011, 6:51:02 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 528f5b7b3ceb19836379fc4ff7686f811093c001
- Parents:
- cf29d0c4a67afdf6039daded7f0bcbd17622873a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rcf29d0c rea57e3 3230 3230 WerrorS("negative timeout"); return TRUE; 3231 3231 } 3232 int t = 1000*getRTimer()/ timer_resolution;3232 int t = 1000*getRTimer()/TIMER_RESOLUTION; 3233 3233 int i; 3234 3234 int ret = 1; … … 3241 3241 Lforks->m[i-1].rtyp=DEF_CMD; 3242 3242 Lforks->m[i-1].data=NULL; 3243 timeout = si_max(0,timeout - 1000*getRTimer()/ timer_resolution+ t);3243 timeout = si_max(0,timeout - 1000*getRTimer()/TIMER_RESOLUTION + t); 3244 3244 } 3245 3245 else { ret = 0; break; /* terminate the for loop */ } … … 4614 4614 return FALSE; 4615 4615 } 4616 BOOLEAN jjWAIT1ST1(leftv res, leftv a)4617 { 4618 // input: a: a list with links of type4616 BOOLEAN jjWAIT1ST1(leftv res, leftv u) 4617 { 4618 // input: u: a list with links of type 4619 4619 // ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch 4620 4620 // returns: i>0: (at least) a[i] is ready 4621 lists Lforks = (lists) a->Data();4621 lists Lforks = (lists)u->Data(); 4622 4622 int i = slStatusSsiL(Lforks, -1); 4623 4623 res->data = (void*)(long)i; 4624 4624 return FALSE; 4625 4625 } 4626 BOOLEAN jjWAITALL1(leftv res, leftv a)4627 { 4628 // input: a: a list with links of type4626 BOOLEAN jjWAITALL1(leftv res, leftv u) 4627 { 4628 // input: u: a list with links of type 4629 4629 // ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch 4630 4630 // returns: nothing. All links are ready when finished.
Note: See TracChangeset
for help on using the changeset viewer.