Ignore:
File:
1 edited

Legend:

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

    ra5e7233 ra1538cd  
    149149        #endif
    150150
     151        // if we need to run some special setup, now is the time to do it.
     152        if(this->init.fnc) {
     153                this->init.fnc(this->init.arg);
     154        }
     155
    151156        {
    152157                // Setup preemption data
     
    157162                #endif
    158163
    159                 // if we need to run some special setup, now is the time to do it.
    160                 if(this->init.thrd) {
    161                         this->init.thrd->curr_cluster = this->cltr;
    162                         __run_thread(this, this->init.thrd);
    163                 }
    164164
    165165                __cfadbg_print_safe(runtime_core, "Kernel : core %p started\n", this);
Note: See TracChangeset for help on using the changeset viewer.