Changeset afd550c for src/libcfa/concurrency/thread.c
- Timestamp:
- May 8, 2018, 5:22:38 PM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
r4990812 rafd550c 100 100 void yield( void ) { 101 101 // 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 ) ); 103 103 BlockInternal( TL_GET( this_thread ) ); 104 104 // 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 ) ); 106 106 } 107 107
Note: See TracChangeset
for help on using the changeset viewer.