Changes in src/libcfa/concurrency/thread.c [65deb18:82c948c]
- File:
-
- 1 edited
-
src/libcfa/concurrency/thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
r65deb18 r82c948c 34 34 self_cor{}; 35 35 self_cor.name = "Anonymous Coroutine"; 36 curr_cor = &self_cor; 36 37 self_mon.owner = &this; 37 38 self_mon.recursion = 1; 38 39 self_mon_p = &self_mon; 39 40 next = NULL; 41 __cfaabi_dbg_debug_do( 42 dbg_next = NULL; 43 dbg_prev = NULL; 44 __cfaabi_dbg_thread_register(&this); 45 ) 40 46 41 47 monitors{ &self_mon_p, 1, (fptr_t)0 }; … … 99 105 dst->state = Active; 100 106 101 //update the last resumer102 dst->last = src;103 104 107 // set new coroutine that the processor is executing 105 108 // and context switch to it
Note:
See TracChangeset
for help on using the changeset viewer.