Changeset 20be782 for libcfa/src/concurrency/kernel
- Timestamp:
- Aug 8, 2022, 1:00:27 PM (2 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
ra7d696f r20be782 279 279 } 280 280 281 extern "C"{ 282 void pthread_delete_kernel_threads_(); 283 } 284 285 281 286 static void __kernel_shutdown(void) { 282 287 if(!cfa_main_returned) return; 288 289 //delete kernel threads for pthread_concurrency 290 pthread_delete_kernel_threads_(); 291 283 292 /* paranoid */ verify( __preemption_enabled() ); 284 293 disable_interrupts();
Note: See TracChangeset
for help on using the changeset viewer.