Changeset 202c80b


Ignore:
Timestamp:
Mar 25, 2022, 1:48:46 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
54c1196
Parents:
3caf5e3
Message:

Added verify and changed print_now to not ignore flags.

File:
1 edited

Legend:

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

    r3caf5e3 r202c80b  
    684684
    685685static void idle_sleep(processor * this, io_future_t & future, iovec & iov) {
     686        /* paranoid */ verify( this->idle_wctx.evfd != 1 );
     687        /* paranoid */ verify( this->idle_wctx.evfd != 2 );
     688
    686689        // Tell everyone we are ready to go do sleep
    687690        for() {
     
    901904        void print_stats_now( cluster & this, int flags ) {
    902905                crawl_cluster_stats( this );
    903                 __print_stats( this.stats, this.print_stats, "Cluster", this.name, (void*)&this );
     906                __print_stats( this.stats, flags, "Cluster", this.name, (void*)&this );
    904907        }
    905908#endif
Note: See TracChangeset for help on using the changeset viewer.