Ignore:
Timestamp:
Mar 30, 2022, 4:51:07 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
bdfd0bd
Parents:
77adaee
Message:

Fix the verifys I just added.

File:
1 edited

Legend:

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

    r77adaee r4ccc150  
    642642
    643643        switch(fd) {
     644                __attribute__((unused)) int ret;
    644645        case 0:
    645646                // If the processor isn't ready to sleep then the exchange will already wake it up
     
    659660                // If the processor was ready to sleep, we need to wake it up with an actual write
    660661                val = 1;
    661                 __attribute__((unused)) int ret = eventfd_write( fd, val );
     662                ret = eventfd_write( fd, val );
    662663                /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret );
    663664
Note: See TracChangeset for help on using the changeset viewer.