Changeset d080549


Ignore:
Timestamp:
Mar 29, 2022, 5:19:11 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
4598e03, d28b70a
Parents:
6e47b49
Message:

Added a verify for the result of wake_proc

File:
1 edited

Legend:

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

    r6e47b49 rd080549  
    686686        eventfd_t val;
    687687        val = 1;
    688         eventfd_write( this->idle_wctx.evfd, val );
    689 
     688        __attribute__((unused)) int ret = eventfd_write( this->idle_wctx.evfd, val );
     689
     690        /* paranoid */ verifyf( ret == 0, "Expected return to be 0, was %d\n", ret );
    690691        /* paranoid */ verify( ! __preemption_enabled() );
    691692}
Note: See TracChangeset for help on using the changeset viewer.