Changeset 5030 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 09/15/04 14:53:06 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r4732 r5030 453 453 UInt_t dummy = maxcnt; 454 454 455 Int_t rc =kTRUE;455 Int_t rc=kTRUE; 456 456 if (maxcnt==0) 457 457 // process first and increment if sucessfull 458 while ( (rc=fTaskList->Process())==kTRUE)458 while (1) 459 459 { 460 rc=fTaskList->Process(); 461 if (rc!=kTRUE && rc!=kCONTINUE) 462 break; 463 460 464 numcnts++; 461 465 if (!ProcessGuiEvents(++dummy)) … … 464 468 else 465 469 // check for number and break if unsuccessfull 466 while (dummy-- && (rc=fTaskList->Process())==kTRUE)470 while (dummy--) 467 471 { 472 rc=fTaskList->Process(); 473 if (rc!=kTRUE && rc!=kCONTINUE) 474 break; 475 468 476 numcnts++; 469 477 if (!ProcessGuiEvents(maxcnt - dummy)) -
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r4828 r5030 565 565 // loop over all tasks for processing 566 566 // 567 Bool_t rc = kTRUE;567 Int_t rc = kTRUE; 568 568 while ( (task=(MTask*)Next()) ) 569 569 { … … 610 610 // something occured: skip the rest of the tasks for this event 611 611 // 612 rc = k TRUE;612 rc = kCONTINUE; 613 613 break; 614 614
Note:
See TracChangeset
for help on using the changeset viewer.