Ignore:
Timestamp:
Apr 15, 2024, 12:24:36 PM (22 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
fb2e916
Parents:
af746cc (diff), 7a36848 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Small cleanup

Location:
libcfa/src/concurrency/kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/cluster.cfa

    raf746cc rdc58e5d  
    341341        // Make sure that everything is consistent
    342342        /* paranoid */ check_readyQ( cltr );
    343         /* paranoid */ verify( (target == 0) == (cltr->sched.caches == 0p) );
     343//      /* paranoid */ verify( (target == 0) == (cltr->sched.caches == 0p) );
    344344
    345345        __cfadbg_print_safe(ready_queue, "Kernel : Growing ready queue done\n");
     
    416416                fix_times(readyQ.tscs, ncount);
    417417        }
     418
    418419        cltr->sched.caches = alloc( target, cltr->sched.caches`realloc );
    419420
     
    428429
    429430        // Make sure that everything is consistent
    430         /* paranoid */ verify( (target == 0) == (cltr->sched.caches == 0p) );
     431//      /* paranoid */ verify( (target == 0) == (cltr->sched.caches == 0p) );
    431432        /* paranoid */ check_readyQ( cltr );
    432433
  • libcfa/src/concurrency/kernel/startup.cfa

    raf746cc rdc58e5d  
    672672        uint_fast32_t last_size = ready_mutate_lock();
    673673
    674                 // Adjust the ready queue size
    675                 ready_queue_shrink( &this );
     674        // Adjust the ready queue size
     675        ready_queue_shrink( &this );
    676676
    677677        // Unlock the RWlock
     
    682682        /* paranoid */ verify( this.sched.readyQ.tscs == 0p );
    683683        /* paranoid */ verify( this.sched.readyQ.count == 0 );
    684         /* paranoid */ verify( this.sched.io.tscs == 0p );
    685         /* paranoid */ verify( this.sched.caches == 0p );
     684//      /* paranoid */ verify( this.sched.io.tscs == 0p );
     685//      /* paranoid */ verify( this.sched.caches == 0p );
    686686
    687687        enable_interrupts( false ); // Don't poll, could be in main cluster
Note: See TracChangeset for help on using the changeset viewer.