Changeset 145dcd5 for libcfa/src
- Timestamp:
- Jan 14, 2022, 6:55:14 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- c90db2d
- Parents:
- 07a1e7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r07a1e7a r145dcd5 34 34 #include "kernel_private.hfa" 35 35 #include "startup.hfa" // STARTUP_PRIORITY_XXX 36 #include "limits.hfa" 36 37 #include "math.hfa" 37 38 … … 513 514 this.rdq.its = 0; 514 515 this.rdq.itr = 0; 515 this.rdq.id = -1u; 516 this.rdq.target = -1u; 517 this.rdq.last = -1u; 518 this.rdq.cutoff = 0ull; 516 this.rdq.id = MAX; 517 this.rdq.target = MAX; 518 this.rdq.last = MAX; 519 this.rdq.cpu = 0; 520 // this.rdq.cutoff = 0ull; 519 521 do_terminate = false; 520 522 preemption_alarm = 0p; … … 684 686 uint_fast32_t last_size; 685 687 [this->unique_id, last_size] = ready_mutate_register(); 688 689 this->rdq.cpu = __kernel_getcpu(); 686 690 687 691 this->cltr->procs.total += 1u;
Note: See TracChangeset
for help on using the changeset viewer.