Changeset 54c1196 for libcfa/src/concurrency/io.cfa
- Timestamp:
- Mar 25, 2022, 1:49:24 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 64bdacc
- Parents:
- 202c80b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
r202c80b r54c1196 111 111 // Drain the queue 112 112 if(!__atomic_try_acquire(&ctx->cq.lock)) { 113 __STATS__( false, io.calls.locked++; ) 113 114 return false; 114 115 } … … 191 192 if(age > cutoff) { 192 193 remote = __cfa_do_drain( io.data[target], cltr ); 194 if(remote) __STATS__( false, io.calls.helped++; ) 193 195 } 194 196 }
Note: See TracChangeset
for help on using the changeset viewer.