Changeset c3acb841 for src/libcfa/concurrency/thread.c
- Timestamp:
- Mar 15, 2017, 4:10:41 PM (8 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:
- 84c52a8
- Parents:
- 0e7b95c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
r0e7b95c rc3acb841 74 74 forall( dtype T | is_thread(T) ) 75 75 void start( T* this ) { 76 coroutine * thrd_c = get_coroutine(this);76 coroutine_desc* thrd_c = get_coroutine(this); 77 77 thread* thrd_h = get_thread (this); 78 78 thrd_c->last = this_coroutine(); … … 97 97 } 98 98 99 void ThreadCtxSwitch(coroutine * src, coroutine* dst) {99 void ThreadCtxSwitch(coroutine_desc* src, coroutine_desc* dst) { 100 100 // set state of current coroutine to inactive 101 101 src->state = Inactive;
Note: See TracChangeset
for help on using the changeset viewer.