Changeset 6a9b12b for libcfa/src/concurrency/kernel
- Timestamp:
- Apr 14, 2021, 4:28:55 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fc59b580
- Parents:
- a7504db
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
ra7504db r6a9b12b 491 491 // Register and Lock the RWlock so no-one pushes/pops while we are changing the queue 492 492 uint_fast32_t last_size = ready_mutate_register((__processor_id_t*)&this); 493 int target = this.cltr-> idles.total += 1u;493 int target = this.cltr->procs.total += 1u; 494 494 495 495 // Adjust the ready queue size … … 506 506 // Lock the RWlock so no-one pushes/pops while we are changing the queue 507 507 uint_fast32_t last_size = ready_mutate_lock(); 508 int target = this.cltr-> idles.total -= 1u;508 int target = this.cltr->procs.total -= 1u; 509 509 510 510 // Adjust the ready queue size … … 555 555 //----------------------------------------------------------------------------- 556 556 // Cluster 557 static void ?{}(__cluster_ idles& this) {557 static void ?{}(__cluster_proc_list & this) { 558 558 this.lock = 0; 559 559 this.idle = 0; 560 560 this.total = 0; 561 (this.list){};562 561 } 563 562
Note: See TracChangeset
for help on using the changeset viewer.