Ignore:
Timestamp:
09/15/04 14:53:06 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r4732 r5030  
    453453    UInt_t dummy   = maxcnt;
    454454
    455     Int_t rc = kTRUE;
     455    Int_t rc=kTRUE;
    456456    if (maxcnt==0)
    457457        // process first and increment if sucessfull
    458         while ((rc=fTaskList->Process())==kTRUE)
     458        while (1)
    459459        {
     460            rc=fTaskList->Process();
     461            if (rc!=kTRUE && rc!=kCONTINUE)
     462                break;
     463
    460464            numcnts++;
    461465            if (!ProcessGuiEvents(++dummy))
     
    464468    else
    465469        // check for number and break if unsuccessfull
    466         while (dummy-- && (rc=fTaskList->Process())==kTRUE)
     470        while (dummy--)
    467471        {
     472            rc=fTaskList->Process();
     473            if (rc!=kTRUE && rc!=kCONTINUE)
     474                break;
     475
    468476            numcnts++;
    469477            if (!ProcessGuiEvents(maxcnt - dummy))
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r4828 r5030  
    565565    // loop over all tasks for processing
    566566    //
    567     Bool_t rc = kTRUE;
     567    Int_t rc = kTRUE;
    568568    while ( (task=(MTask*)Next()) )
    569569    {
     
    610610            // something occured: skip the rest of the tasks for this event
    611611            //
    612             rc = kTRUE;
     612            rc = kCONTINUE;
    613613            break;
    614614
Note: See TracChangeset for help on using the changeset viewer.