Changeset c66f6cb for libcfa/src/concurrency/kernel.cfa
- Timestamp:
- May 6, 2020, 2:03:13 PM (3 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 171ca0d
- Parents:
- 08a994e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r08a994e rc66f6cb 250 250 } 251 251 252 pthread_join( kernel_thread, 0p ); 252 int err = pthread_join( kernel_thread, 0p ); 253 if( err != 0 ) abort("KERNEL ERROR: joining processor %p caused error %s\n", &this, strerror(err)); 254 253 255 free( this.stack ); 254 256 } … … 824 826 // Destroy the main processor and its context in reverse order of construction 825 827 // These were manually constructed so we need manually destroy them 828 void ^?{}(processor & this) with( this ){ 829 /* paranoid */ verify( this.do_terminate == true ); 830 } 831 826 832 ^(*mainProcessor){}; 827 833
Note: See TracChangeset
for help on using the changeset viewer.