Changeset c40e7c5 for src/libcfa/concurrency/kernel.c
- Timestamp:
- Feb 12, 2018, 11:57:50 AM (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:
- d56ca354
- Parents:
- eb7f20c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel.c
reb7f20c rc40e7c5 144 144 } 145 145 146 void ?{}(processor & this, cluster * cltr) {146 void ?{}(processor & this, cluster * cltr) with( this ) { 147 147 this.cltr = cltr; 148 t his.terminated{ 0 };149 this.do_terminate = false;150 this.preemption_alarm = NULL;151 this.pending_preemption = false;148 terminated{ 0 }; 149 do_terminate = false; 150 preemption_alarm = NULL; 151 pending_preemption = false; 152 152 153 153 start( &this ); 154 154 } 155 155 156 void ?{}(processor & this, cluster * cltr, processorCtx_t & runner) {156 void ?{}(processor & this, cluster * cltr, processorCtx_t & runner) with( this ) { 157 157 this.cltr = cltr; 158 t his.terminated{ 0 };159 this.do_terminate = false;160 this.preemption_alarm = NULL;161 this.pending_preemption = false;162 this.kernel_thread = pthread_self();158 terminated{ 0 }; 159 do_terminate = false; 160 preemption_alarm = NULL; 161 pending_preemption = false; 162 kernel_thread = pthread_self(); 163 163 164 164 this.runner = &runner;
Note: See TracChangeset
for help on using the changeset viewer.