Ignore:
File:
1 edited

Legend:

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

    rafc2427 r58b6d1b  
    5757//-----------------------------------------------------------------------------
    5858// Global state
    59 thread_local struct KernelThreadData kernelTLS __attribute__ ((tls_model ( "initial-exec" ))) = {
     59thread_local struct KernelThreadData kernelTLS = {
    6060        NULL,
    6161        NULL,
     
    833833// Debug
    834834__cfaabi_dbg_debug_do(
    835         extern "C" {
    836                 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name) {
    837                         this.prev_name = prev_name;
    838                         this.prev_thrd = kernelTLS.this_thread;
    839                 }
     835        void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name) {
     836                this.prev_name = prev_name;
     837                this.prev_thrd = kernelTLS.this_thread;
    840838        }
    841839)
Note: See TracChangeset for help on using the changeset viewer.