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/coroutine.c

    r4990812 rafd550c  
    8585void CoroutineCtxSwitch(coroutine_desc* src, coroutine_desc* dst) {
    8686      // Safety note : This could cause some false positives due to preemption
    87       verify( TL_GET( preemption_state ).enabled || TL_GET( this_processor )->do_terminate );
     87      verify( TL_GET( preemption_state.enabled ) || TL_GET( this_processor )->do_terminate );
    8888      disable_interrupts();
    8989
     
    104104      enable_interrupts( __cfaabi_dbg_ctx );
    105105      // Safety note : This could cause some false positives due to preemption
    106       verify( TL_GET( preemption_state ).enabled || TL_GET( this_processor )->do_terminate );
     106      verify( TL_GET( preemption_state.enabled ) || TL_GET( this_processor )->do_terminate );
    107107} //ctxSwitchDirect
    108108
Note: See TracChangeset for help on using the changeset viewer.