Changes in / [ee3c93d:2ad4b49]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel.c

    ree3c93d r2ad4b49  
    663663        __cfaabi_dbg_print_safe("Kernel : Processor %p ready to sleep\n", this);
    664664
     665        verify( ({int sval = 0; sem_getvalue(&this->idleLock, &sval); sval; }) < 65536);
    665666        sem_wait(&idleLock);
    666667
     
    678679        __cfaabi_dbg_print_safe("Kernel : Waking up processor %p\n", this);
    679680        sem_post(&this->idleLock);
     681        verify( ({int sval = 0; sem_getvalue(&this->idleLock, &sval); sval; }) < 65536);
    680682}
    681683
Note: See TracChangeset for help on using the changeset viewer.