Changes in / [ce9ed84:7f54356]


Ignore:
Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

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

    rce9ed84 r7f54356  
    116116                $thread * thrd;
    117117        } init;
    118 
    119         struct KernelThreadData * local_data;
    120118
    121119        #if !defined(__CFA_NO_STATISTICS__)
  • libcfa/src/concurrency/kernel/startup.cfa

    rce9ed84 r7f54356  
    228228                __init_stats( __cfaabi_tls.this_stats );
    229229        #endif
    230         mainProcessor->local_data = &__cfaabi_tls;
    231230
    232231        // Enable preemption
     
    283282        #endif
    284283
    285         mainProcessor->local_data = 0p;
    286 
    287284        unregister_tls( mainProcessor );
    288285
     
    332329        __cfaabi_tls.this_thread    = 0p;
    333330        __cfaabi_tls.preemption_state.[enabled, disable_count] = [false, 1];
    334         proc->local_data = &__cfaabi_tls;
    335331
    336332        register_tls( proc );
     
    372368                #endif
    373369        #endif
    374 
    375         proc->local_data = 0p;
    376370
    377371        unregister_tls( proc );
     
    506500
    507501        this.init.thrd = initT;
    508 
    509         this.local_data = 0p;
    510502
    511503        this.idle = eventfd(0, 0);
Note: See TracChangeset for help on using the changeset viewer.