- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r431cd4f rc993b15 49 49 50 50 // Processor id, required for scheduling threads 51 struct __processor_id_t { 52 unsigned id:24; 53 54 #if !defined(__CFA_NO_STATISTICS__) 55 struct __stats_t * stats; 56 #endif 57 }; 51 58 52 59 53 coroutine processorCtx_t { … … 63 57 // Wrapper around kernel threads 64 58 struct __attribute__((aligned(128))) processor { 65 // Main state66 inline __processor_id_t;67 68 59 // Cluster from which to get threads 69 60 struct cluster * cltr; … … 89 80 // Handle to pthreads 90 81 pthread_t kernel_thread; 82 83 // Unique id for the processor (not per cluster) 84 unsigned unique_id; 91 85 92 86 struct {
Note:
See TracChangeset
for help on using the changeset viewer.