Changeset fb4ccdf for libcfa/src


Ignore:
Timestamp:
May 13, 2021, 3:45:35 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a9172b5
Parents:
16fd826
Message:

Updated alternate main for processors

File:
1 edited

Legend:

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

    r16fd826 rfb4ccdf  
    265265                        SEARCH: {
    266266                                /* paranoid */ verify( ! __preemption_enabled() );
    267                                 /* paranoid */ verify( kernelTLS().this_proc_id );
    268267
    269268                                // First, lock the scheduler since we are searching for a thread
     
    323322                                }
    324323
    325                                 __STATS( if(this->print_halts) __cfaabi_bits_print_safe( STDOUT_FILENO, "PH:%d - %lld 0\n", this->id, rdtscl()); )
     324                                        __STATS( if(this->print_halts) __cfaabi_bits_print_safe( STDOUT_FILENO, "PH:%d - %lld 0\n", this->unique_id, rdtscl()); )
    326325                                __cfadbg_print_safe(runtime_core, "Kernel : core %p waiting on eventfd %d\n", this, this->idle);
    327326
     
    331330                                // __enable_interrupts_hard();
    332331
    333                                 __STATS( if(this->print_halts) __cfaabi_bits_print_safe( STDOUT_FILENO, "PH:%d - %lld 1\n", this->id, rdtscl()); )
     332                                        __STATS( if(this->print_halts) __cfaabi_bits_print_safe( STDOUT_FILENO, "PH:%d - %lld 1\n", this->unique_id, rdtscl()); )
    334333
    335334                                // We were woken up, remove self from idle
     
    341340
    342341                RUN_THREAD:
    343                         /* paranoid */ verify( kernelTLS().this_proc_id );
    344342                        /* paranoid */ verify( ! __preemption_enabled() );
    345343                        /* paranoid */ verify( readyThread );
Note: See TracChangeset for help on using the changeset viewer.