Ignore:
Timestamp:
May 8, 2018, 5:22:38 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, with_gc
Children:
b4a835d, de94a60
Parents:
4990812
Message:

Some more work on TLS macros

File:
1 edited

Legend:

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

    r4990812 rafd550c  
    422422        }
    423423
    424         verify( ! preemption_state.enabled );
     424        verify( ! kernelTLS.preemption_state.enabled );
    425425        returnToKernel();
    426         verify( ! preemption_state.enabled );
     426        verify( ! kernelTLS.preemption_state.enabled );
    427427
    428428        enable_interrupts( __cfaabi_dbg_ctx );
     
    578578        verify( ! kernelTLS.preemption_state.enabled );
    579579        enable_interrupts( __cfaabi_dbg_ctx );
    580         verify( TL_GET( preemption_state ).enabled );
     580        verify( TL_GET( preemption_state.enabled ) );
    581581}
    582582
     
    584584        __cfaabi_dbg_print_safe("\n--------------------------------------------------\nKernel : Shutting down\n");
    585585
    586         verify( TL_GET( preemption_state ).enabled );
     586        verify( TL_GET( preemption_state.enabled ) );
    587587        disable_interrupts();
    588588        verify( ! kernelTLS.preemption_state.enabled );
     
    642642static bool kernel_abort_called = false;
    643643
    644 void * kernel_abort    (void) __attribute__ ((__nothrow__)) {
     644void * kernel_abort(void) __attribute__ ((__nothrow__)) {
    645645        // abort cannot be recursively entered by the same or different processors because all signal handlers return when
    646646        // the globalAbort flag is true.
Note: See TracChangeset for help on using the changeset viewer.