- File:
-
- 1 edited
-
libcfa/src/concurrency/coroutine.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.cfa
r147a137 r60f69f0 343 343 344 344 bool poll() libcfa_public { return poll( active_coroutine() ); } 345 void enable_ehm() libcfa_public { active_coroutine()->ehm_state.ehm_enabled = true; }346 void disable_ehm() libcfa_public { active_coroutine()->ehm_state.ehm_enabled = false; }347 bool checked_poll() libcfa_public { return active_coroutine()->ehm_state.ehm_enabled ? poll( active_coroutine() ) : false; }348 345 coroutine$ * resumer() libcfa_public { return active_coroutine()->last; } 349 346 coroutine$ * first_resumer() libcfa_public { return active_coroutine()->starter; }
Note:
See TracChangeset
for help on using the changeset viewer.