Changeset fb4ccdf
- Timestamp:
- May 13, 2021, 3:45:35 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r16fd826 rfb4ccdf 265 265 SEARCH: { 266 266 /* paranoid */ verify( ! __preemption_enabled() ); 267 /* paranoid */ verify( kernelTLS().this_proc_id );268 267 269 268 // First, lock the scheduler since we are searching for a thread … … 323 322 } 324 323 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()); ) 326 325 __cfadbg_print_safe(runtime_core, "Kernel : core %p waiting on eventfd %d\n", this, this->idle); 327 326 … … 331 330 // __enable_interrupts_hard(); 332 331 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()); ) 334 333 335 334 // We were woken up, remove self from idle … … 341 340 342 341 RUN_THREAD: 343 /* paranoid */ verify( kernelTLS().this_proc_id );344 342 /* paranoid */ verify( ! __preemption_enabled() ); 345 343 /* paranoid */ verify( readyThread );
Note: See TracChangeset
for help on using the changeset viewer.