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