Ignore:
Timestamp:
Aug 8, 2022, 1:00:27 PM (2 years ago)
Author:
z277zhu <z277zhu@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
428adbc
Parents:
a7d696f
git-author:
z277zhu <z277zhu@…> (08/07/22 22:19:45)
git-committer:
z277zhu <z277zhu@…> (08/08/22 13:00:27)
Message:

add pthread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    ra7d696f r20be782  
    279279}
    280280
     281extern "C"{
     282        void pthread_delete_kernel_threads_();
     283}
     284
     285
    281286static void __kernel_shutdown(void) {
    282287        if(!cfa_main_returned) return;
     288
     289        //delete kernel threads for pthread_concurrency
     290        pthread_delete_kernel_threads_();
     291
    283292        /* paranoid */ verify( __preemption_enabled() );
    284293        disable_interrupts();
Note: See TracChangeset for help on using the changeset viewer.