Changeset c3e510b for libcfa/src/concurrency/coroutine.hfa
- Timestamp:
- Aug 7, 2023, 12:35:53 PM (14 months ago)
- Branches:
- master
- Children:
- 27f2bef
- Parents:
- ff7f6d07
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.hfa
rff7f6d07 rc3e510b 218 218 } 219 219 220 // non local ehm routines220 // non local ehm and coroutine utility routines 221 221 forall(T & | is_coroutine(T)) { 222 222 void enable_ehm( T & cor ); … … 224 224 bool poll( T & cor ); 225 225 bool checked_poll( T & cor ); 226 coroutine$ * resumer( T & cor ); 226 227 } 227 228 … … 230 231 trait ehm_resume_at { void $throwResume(exceptT &); }; 231 232 233 // general resumeAt 232 234 forall(exceptT &, T & | ehm_resume_at( exceptT, T )) 233 235 void resumeAt( T & receiver, exceptT & ex ); 236 237 // resumeAt for underlying coroutine$ type 238 forall(exceptT & | { void $throwResume(exceptT &); }) 239 void resumeAt( coroutine$ * receiver, exceptT & ex ); 234 240 235 241 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.