Changeset 47b5b63 for src/libcfa/concurrency/kernel.c
- Timestamp:
- Sep 20, 2017, 12:03:55 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:
- b462670, e4d6335, f980549
- Parents:
- d22e90f (diff), 39fea2f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel.c
rd22e90f r47b5b63 102 102 this.errno_ = 0; 103 103 this.state = Start; 104 this.starter = NULL; 104 105 } 105 106 … … 110 111 //----------------------------------------------------------------------------- 111 112 // Processor coroutine 113 114 // Construct the processor context of the main processor 112 115 void ?{}(processorCtx_t & this, processor * proc) { 113 116 (this.__cor){ "Processor" }; 117 this.__cor.starter = &mainThread->cor; 114 118 this.proc = proc; 115 119 proc->runner = &this; 116 120 } 117 121 122 // Construct the processor context of non-main processors 118 123 void ?{}(processorCtx_t & this, processor * proc, current_stack_info_t * info) { 119 124 (this.__cor){ info };
Note: See TracChangeset
for help on using the changeset viewer.