Changeset 078fb05
- Timestamp:
- Jan 10, 2022, 4:12:19 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 418d31ac
- Parents:
- a39a289
- Location:
- libcfa/src/concurrency
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
ra39a289 r078fb05 548 548 /* paranoid */ verify( proc == __cfaabi_tls.this_processor ); 549 549 /* paranoid */ verify( ! __preemption_enabled() ); 550 551 return true; 550 552 } 551 553 #endif -
libcfa/src/concurrency/kernel.cfa
ra39a289 r078fb05 554 554 /* paranoid */ verify( 0x0D15EA5E0D15EA5Ep == thrd->canary ); 555 555 556 const bool local = thrd->state != Start;557 556 if (thrd->preempted == __NO_PREEMPTION) thrd->state = Ready; 558 557 -
libcfa/src/concurrency/ready_queue.cfa
ra39a289 r078fb05 681 681 // Actually pop the list 682 682 struct thread$ * thrd; 683 unsigned long long tsc_before = ts(lane); 683 #if defined(USE_WORK_STEALING) || defined(USE_CPU_WORK_STEALING) 684 unsigned long long tsc_before = ts(lane); 685 #endif 684 686 unsigned long long tsv; 685 687 [thrd, tsv] = pop(lane);
Note: See TracChangeset
for help on using the changeset viewer.