Changeset f7fac4b for libcfa/src/concurrency/kernel
- Timestamp:
- Aug 25, 2020, 9:17:22 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- af4487d
- Parents:
- 95472ee (diff), ceb7db8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r95472ee rf7fac4b 579 579 580 580 // Lock the RWlock so no-one pushes/pops while we are changing the queue 581 disable_interrupts(); 581 582 uint_fast32_t last_size = ready_mutate_lock(); 582 583 … … 586 587 // Unlock the RWlock 587 588 ready_mutate_unlock( last_size ); 589 enable_interrupts_noPoll(); // Don't poll, could be in main cluster 590 588 591 589 592 this.io.cnt = num_io; … … 601 604 602 605 // Lock the RWlock so no-one pushes/pops while we are changing the queue 606 disable_interrupts(); 603 607 uint_fast32_t last_size = ready_mutate_lock(); 604 608 … … 608 612 // Unlock the RWlock 609 613 ready_mutate_unlock( last_size ); 614 enable_interrupts_noPoll(); // Don't poll, could be in main cluster 610 615 611 616 #if !defined(__CFA_NO_STATISTICS__)
Note:
See TracChangeset
for help on using the changeset viewer.