Changeset 78a580d for libcfa/src/concurrency/kernel/startup.cfa
- Timestamp:
- Mar 22, 2022, 3:28:29 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- ff7b2de
- Parents:
- 8f01ad71
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r8f01ad71 r78a580d 233 233 /* paranoid */ verify( sizeof(storage_mainIdleEventFd) == sizeof(eventfd_t) ); 234 234 235 __cfa_io_start( mainProcessor ); 235 236 register_tls( mainProcessor ); 236 __cfa_io_start( mainProcessor );237 237 238 238 // Start by initializing the main thread … … 314 314 mainProcessor->local_data = 0p; 315 315 316 unregister_tls( mainProcessor ); 316 317 __cfa_io_stop( mainProcessor ); 317 unregister_tls( mainProcessor );318 318 319 319 // Destroy the main processor and its context in reverse order of construction … … 364 364 proc->local_data = &__cfaabi_tls; 365 365 366 __cfa_io_start( proc ); 366 367 register_tls( proc ); 367 368 __cfa_io_start( proc );369 368 370 369 // used for idle sleep when io_uring is present … … 401 400 // Main routine of the core returned, the core is now fully terminated 402 401 __cfadbg_print_safe(runtime_core, "Kernel : core %p main ended (%p)\n", proc, &proc->runner); 403 404 __cfa_io_stop( proc );405 402 406 403 #if !defined(__CFA_NO_STATISTICS__) … … 417 414 418 415 unregister_tls( proc ); 416 __cfa_io_stop( proc ); 419 417 420 418 return 0p;
Note: See TracChangeset
for help on using the changeset viewer.