Changeset d36bac7 for libcfa/src/concurrency
- Timestamp:
- May 19, 2021, 1:26:33 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 9cac0da
- Parents:
- 78ea291
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
r78ea291 rd36bac7 138 138 /* paranoid */ verify( proc->io.ctx ); 139 139 140 __attribute__((unused)) cluster * cltr = proc->cltr; 140 141 $io_context & ctx = *proc->io.ctx; 142 143 // for(i; 2) { 144 // unsigned idx = proc->rdq.id + i; 145 // cltr->ready_queue.lanes.tscs[idx].tv = -1ull; 146 // } 141 147 142 148 __ioarbiter_flush( ctx ); … … 151 157 // Update statistics 152 158 __STATS__( false, io.calls.errors.busy ++; ) 159 // for(i; 2) { 160 // unsigned idx = proc->rdq.id + i; 161 // cltr->ready_queue.lanes.tscs[idx].tv = rdtscl(); 162 // } 153 163 return; 154 164 default: … … 172 182 173 183 ctx.proc->io.pending = false; 184 185 ready_schedule_lock(); 186 __cfa_io_drain( proc ); 187 ready_schedule_unlock(); 188 // for(i; 2) { 189 // unsigned idx = proc->rdq.id + i; 190 // cltr->ready_queue.lanes.tscs[idx].tv = rdtscl(); 191 // } 174 192 } 175 193
Note: See TracChangeset
for help on using the changeset viewer.