Changeset 22f94a4 for libcfa/src/concurrency/thread.cfa
- Timestamp:
- Aug 11, 2020, 4:40:15 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0d070ca
- Parents:
- 07d867b (diff), 129674b (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
-
libcfa/src/concurrency/thread.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
r07d867b r22f94a4 28 28 context{ 0p, 0p }; 29 29 self_cor{ name, storage, storageSize }; 30 ticket = 1; 30 31 state = Start; 31 32 preempted = __NO_PREEMPTION; … … 35 36 self_mon_p = &self_mon; 36 37 curr_cluster = &cl; 37 next = 0p; 38 link.next = 0p; 39 link.prev = 0p; 40 link.preferred = -1; 38 41 39 42 node.next = 0p; … … 61 64 verify( this_thrd->context.SP ); 62 65 63 __schedule_thread( this_thrd);66 __schedule_thread( (__processor_id_t *)kernelTLS.this_processor, this_thrd); 64 67 enable_interrupts( __cfaabi_dbg_ctx ); 65 68 }
Note:
See TracChangeset
for help on using the changeset viewer.