Ignore:
Timestamp:
Apr 12, 2024, 7:42:07 AM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
feb999f
Parents:
b6a71bc
Message:

comment out asserts that fail when malloc(0) returns non-null

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

Legend:

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

    rb6a71bc r6dd4091  
    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

    rb6a71bc r6dd4091  
    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.