Changeset 80d9e49 for src/libcfa/concurrency/threads
- Timestamp:
- Dec 7, 2016, 2:47:53 PM (7 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, resolv-new, with_gc
- Children:
- 550a338
- Parents:
- a68caae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/threads
ra68caae r80d9e49 23 23 24 24 void ?{}(coroutine* this); 25 void ?{}(coroutine* this, covptr_t* object);26 25 27 trait coroutine_t(dtype T) {26 trait is_coroutine(dtype T) { 28 27 void co_main(T* this); 29 co vptr_t* vtable(T* this);28 coroutine* get_coroutine(T* this); 30 29 }; 31 30 32 31 void suspend(void); 33 32 34 forall(dtype T | coroutine_t(T))33 forall(dtype T | is_coroutine(T)) 35 34 void resume(T* cor); 35 36 forall(dtype T | is_coroutine(T)) 37 void prime(T* cor); 36 38 37 39 #endif //__THREADS_H__
Note: See TracChangeset
for help on using the changeset viewer.