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

Some more work on TLS macros

File:
1 edited

Legend:

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

    r4990812 rafd550c  
    100100void yield( void ) {
    101101        // Safety note : This could cause some false positives due to preemption
    102       verify( TL_GET( preemption_state ).enabled );
     102      verify( TL_GET( preemption_state.enabled ) );
    103103        BlockInternal( TL_GET( this_thread ) );
    104104        // Safety note : This could cause some false positives due to preemption
    105       verify( TL_GET( preemption_state ).enabled );
     105      verify( TL_GET( preemption_state.enabled ) );
    106106}
    107107
Note: See TracChangeset for help on using the changeset viewer.