Changeset a633f6f for libcfa/src/concurrency/kernel.cfa
- Timestamp:
- Nov 19, 2021, 11:39:35 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 1757f98, c60e5094
- Parents:
- b14ec5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
rb14ec5f ra633f6f 825 825 insert_last(this.actives, proc); 826 826 827 __atomic_store_n(&this.fd, this.idles`first.idle, __ATOMIC_SEQ_CST); 827 { 828 int fd = 0; 829 if(!this.idles`isEmpty) fd = this.idles`first.idle; 830 __atomic_store_n(&this.fd, fd, __ATOMIC_SEQ_CST); 831 } 832 828 833 unlock( this ); 829 834 /* paranoid */ verify( ! __preemption_enabled() );
Note: See TracChangeset
for help on using the changeset viewer.