Changeset 3623f9d for libcfa/src/concurrency
- Timestamp:
- Jun 24, 2019, 4:11:33 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3e2f5e3
- Parents:
- da7454c
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.cfa
rda7454c r3623f9d 98 98 99 99 void ^?{}(coroutine_desc& this) { 100 if(this.state != Halted && this.state != Start ) {100 if(this.state != Halted && this.state != Start && this.state != Primed) { 101 101 coroutine_desc * src = TL_GET( this_thread )->curr_cor; 102 102 coroutine_desc * dst = &this; -
libcfa/src/concurrency/invoke.h
rda7454c r3623f9d 46 46 #ifdef __cforall 47 47 extern "Cforall" { 48 static inline struct thread_desc *& get_next( struct thread_desc & this );49 static inline struct __condition_criterion_t *& get_next( struct __condition_criterion_t & this );50 51 48 extern thread_local struct KernelThreadData { 52 49 struct thread_desc * volatile this_thread;
Note: See TracChangeset
for help on using the changeset viewer.