Changeset 9b1dcc2 for libcfa/src/concurrency/kernel.hfa
- Timestamp:
- Jun 12, 2020, 1:49:17 PM (4 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:
- cb196f2
- Parents:
- b388ee81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
rb388ee81 r9b1dcc2 47 47 extern struct cluster * mainCluster; 48 48 49 // Processor 49 // Processor id, required for scheduling threads 50 struct __processor_id_t { 51 unsigned id; 52 }; 53 50 54 coroutine processorCtx_t { 51 55 struct processor * proc; … … 54 58 // Wrapper around kernel threads 55 59 struct processor { 60 inline __processor_id_t; 61 56 62 // Main state 57 63 // Coroutine ctx who does keeps the state of the processor … … 60 66 // Cluster from which to get threads 61 67 struct cluster * cltr; 62 unsigned int id;63 68 64 69 // Name of the processor
Note: See TracChangeset
for help on using the changeset viewer.