- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r7cf3b1d r1757f98 55 55 }; 56 56 57 58 struct __fd_waitctx {59 volatile int fd;60 };61 62 57 // Wrapper around kernel threads 63 58 struct __attribute__((aligned(128))) processor { … … 72 67 unsigned target; 73 68 unsigned last; 74 signed cpu; 69 unsigned cnt; 70 unsigned long long int cutoff; 75 71 } rdq; 76 72 … … 106 102 int idle_fd; 107 103 108 // Idle waitctx109 struct __fd_waitctx idle_wctx;110 111 104 // Termination synchronisation (user semaphore) 112 105 oneshot terminated; … … 159 152 volatile unsigned long long tv; 160 153 volatile unsigned long long ma; 161 };162 163 struct __attribute__((aligned(16))) __cache_id_t {164 volatile unsigned id;165 154 }; 166 155 … … 175 164 static inline void ^?{}(__timestamp_t & this) {} 176 165 177 struct __attribute__((aligned(128))) __ready_queue_caches_t;178 void ?{}(__ready_queue_caches_t & this);179 void ^?{}(__ready_queue_caches_t & this);180 181 166 //TODO adjust cache size to ARCHITECTURE 182 // Structure holding the re ady queue167 // Structure holding the relaxed ready queue 183 168 struct __ready_queue_t { 184 169 // Data tracking the actual lanes … … 193 178 __timestamp_t * volatile tscs; 194 179 195 __cache_id_t * volatile caches;196 197 180 // Array of stats 198 181 __help_cnts_t * volatile help; … … 215 198 216 199 // FD to use to wake a processor 217 struct __fd_waitctx * volatile fdw;200 volatile int fd; 218 201 219 202 // Total number of processors
Note:
See TracChangeset
for help on using the changeset viewer.